Changeset 143382 in webkit


Ignore:
Timestamp:
Feb 19, 2013 2:02:47 PM (11 years ago)
Author:
pilgrim@chromium.org
Message:

[Chromium] Remove idbFactory from WebKitPlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=106457

Reviewed by Kentaro Hara.

Now that https://codereview.chromium.org/12230054 has landed, the
idbFactory method is no longer needed. (Embedders must now call
the new setIDBFactory method upon initialization.) Part of a
larger refactoring series; see tracking bug 82948.

  • public/platform/WebKitPlatformSupport.h:

(WebKit):

  • src/IDBFactoryBackendProxy.cpp:

(WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):

Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r143355 r143382  
     12013-02-19  Mark Pilgrim  <pilgrim@chromium.org>
     2
     3        [Chromium] Remove idbFactory from WebKitPlatformSupport
     4        https://bugs.webkit.org/show_bug.cgi?id=106457
     5
     6        Reviewed by Kentaro Hara.
     7
     8        Now that https://codereview.chromium.org/12230054 has landed, the
     9        idbFactory method is no longer needed. (Embedders must now call
     10        the new setIDBFactory method upon initialization.) Part of a
     11        larger refactoring series; see tracking bug 82948.
     12
     13        * public/platform/WebKitPlatformSupport.h:
     14        (WebKit):
     15        * src/IDBFactoryBackendProxy.cpp:
     16        (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
     17
    1182013-02-19  Alexandre Elias  <aelias@chromium.org>
    219
  • trunk/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h

    r141900 r143382  
    3636namespace WebKit {
    3737
    38 class WebIDBFactory; // FIXME: Does this belong in platform?
    39 
    40 // FIXME: Eventually all these API will need to move to WebKit::Platform.
    4138class WebKitPlatformSupport : public Platform {
    42 public:
    43     // Indexed Database ----------------------------------------------------
    44 
    45     virtual WebIDBFactory* idbFactory() { return 0; }
    46 
    4739protected:
    4840    ~WebKitPlatformSupport() { }
  • trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp

    r142653 r143382  
    5454#include "WorkerScriptController.h"
    5555#include "WorkerThread.h"
    56 #include "platform/WebKitPlatformSupport.h"
    5756#include <public/WebVector.h>
    5857
     
    7675IDBFactoryBackendProxy::IDBFactoryBackendProxy()
    7776{
    78     if (s_webIDBFactory)
    79         m_webIDBFactory = s_webIDBFactory;
    80     else
    81         m_webIDBFactory = webKitPlatformSupport()->idbFactory();
     77    ASSERT(s_webIDBFactory);
     78    m_webIDBFactory = s_webIDBFactory;
    8279}
    8380
Note: See TracChangeset for help on using the changeset viewer.