Changeset 143382 in webkit
- Timestamp:
- Feb 19, 2013 2:02:47 PM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r143355 r143382 1 2013-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 1 18 2013-02-19 Alexandre Elias <aelias@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h
r141900 r143382 36 36 namespace WebKit { 37 37 38 class WebIDBFactory; // FIXME: Does this belong in platform?39 40 // FIXME: Eventually all these API will need to move to WebKit::Platform.41 38 class WebKitPlatformSupport : public Platform { 42 public:43 // Indexed Database ----------------------------------------------------44 45 virtual WebIDBFactory* idbFactory() { return 0; }46 47 39 protected: 48 40 ~WebKitPlatformSupport() { } -
trunk/Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp
r142653 r143382 54 54 #include "WorkerScriptController.h" 55 55 #include "WorkerThread.h" 56 #include "platform/WebKitPlatformSupport.h"57 56 #include <public/WebVector.h> 58 57 … … 76 75 IDBFactoryBackendProxy::IDBFactoryBackendProxy() 77 76 { 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; 82 79 } 83 80
Note: See TracChangeset
for help on using the changeset viewer.