Changeset 143403 in webkit


Ignore:
Timestamp:
Feb 19, 2013 4:20:29 PM (11 years ago)
Author:
enne@google.com
Message:

Unreviewed, rolling out r143382 and r143401.
http://trac.webkit.org/changeset/143382
http://trac.webkit.org/changeset/143401
https://bugs.webkit.org/show_bug.cgi?id=106457

Breaks Chromium win/mac canary compilation

Source/Platform:

  • chromium/public/Platform.h:

Source/WebKit/chromium:

  • public/platform/WebKitPlatformSupport.h:

(WebKit):
(WebKitPlatformSupport):
(WebKit::WebKitPlatformSupport::idbFactory):
(WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):

  • src/IDBFactoryBackendProxy.cpp:

(WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r143401 r143403  
     12013-02-19  Adrienne Walker  <enne@chromium.org>
     2
     3        Unreviewed, rolling out r143382 and r143401.
     4        http://trac.webkit.org/changeset/143382
     5        http://trac.webkit.org/changeset/143401
     6        https://bugs.webkit.org/show_bug.cgi?id=106457
     7
     8        Breaks Chromium win/mac canary compilation
     9
     10        * chromium/public/Platform.h:
     11
    1122013-02-19  Mark Pilgrim  <pilgrim@chromium.org>
    213
  • trunk/Source/Platform/chromium/public/Platform.h

    r143401 r143403  
    486486};
    487487
    488 class WebKitPlatformSupport : public Platform {
    489 protected:
    490     ~WebKitPlatformSupport() { }
    491 };
    492 
    493488} // namespace WebKit
    494489
  • trunk/Source/WebKit/chromium/ChangeLog

    r143401 r143403  
     12013-02-19  Adrienne Walker  <enne@chromium.org>
     2
     3        Unreviewed, rolling out r143382 and r143401.
     4        http://trac.webkit.org/changeset/143382
     5        http://trac.webkit.org/changeset/143401
     6        https://bugs.webkit.org/show_bug.cgi?id=106457
     7
     8        Breaks Chromium win/mac canary compilation
     9
     10        * public/platform/WebKitPlatformSupport.h:
     11        (WebKit):
     12        (WebKitPlatformSupport):
     13        (WebKit::WebKitPlatformSupport::idbFactory):
     14        (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
     15        * src/IDBFactoryBackendProxy.cpp:
     16        (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
     17
    1182013-02-19  Mark Pilgrim  <pilgrim@chromium.org>
    219
  • trunk/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h

    r143401 r143403  
    2929 */
    3030
     31#ifndef WebKitPlatformSupport_h
     32#define WebKitPlatformSupport_h
     33
    3134#include "../../../../Platform/chromium/public/Platform.h"
     35
     36namespace WebKit {
     37
     38class WebIDBFactory; // FIXME: Does this belong in platform?
     39
     40// FIXME: Eventually all these API will need to move to WebKit::Platform.
     41class WebKitPlatformSupport : public Platform {
     42public:
     43    // Indexed Database ----------------------------------------------------
     44
     45    virtual WebIDBFactory* idbFactory() { return 0; }
     46
     47protected:
     48    ~WebKitPlatformSupport() { }
     49};
     50
     51} // namespace WebKit
     52
     53#endif
  • trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp

    r143382 r143403  
    5454#include "WorkerScriptController.h"
    5555#include "WorkerThread.h"
     56#include "platform/WebKitPlatformSupport.h"
    5657#include <public/WebVector.h>
    5758
     
    7576IDBFactoryBackendProxy::IDBFactoryBackendProxy()
    7677{
    77     ASSERT(s_webIDBFactory);
    78     m_webIDBFactory = s_webIDBFactory;
     78    if (s_webIDBFactory)
     79        m_webIDBFactory = s_webIDBFactory;
     80    else
     81        m_webIDBFactory = webKitPlatformSupport()->idbFactory();
    7982}
    8083
Note: See TracChangeset for help on using the changeset viewer.