Changeset 137490 in webkit
- Timestamp:
- Dec 12, 2012 11:32:12 AM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r137441 r137490 1 2012-12-12 Mark Pilgrim <pilgrim@chromium.org> 2 3 [Chromium] Remove all references to sharedWorkerRepository() 4 https://bugs.webkit.org/show_bug.cgi?id=104704 5 6 Reviewed by James Robinson. 7 8 Now that Chromium calls setSharedWorkerRepository upon 9 initializing WebKit ( 10 https://chromiumcodereview.appspot.com/10990121/ ) and no longer 11 tries to override sharedWorkerRepository, it is safe to remove 12 all references to this function. 13 14 * public/platform/WebKitPlatformSupport.h: 15 (WebKit): 16 (WebKit::WebKitPlatformSupport::idbFactory): 17 * src/SharedWorkerRepository.cpp: 18 (WebKit::sharedWorkerRepository): 19 (WebCore::SharedWorkerRepository::isAvailable): 20 1 21 2012-12-12 Tommy Widenflycht <tommyw@google.com> 2 22 -
trunk/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h
r137327 r137490 37 37 38 38 class WebIDBFactory; // FIXME: Does this belong in platform? 39 class WebSharedWorkerRepository; // FIXME: Does this belong in platform?40 39 41 40 // FIXME: Eventually all these API will need to move to WebKit::Platform. … … 46 45 virtual WebIDBFactory* idbFactory() { return 0; } 47 46 48 49 // Shared Workers ------------------------------------------------------50 51 virtual WebSharedWorkerRepository* sharedWorkerRepository() { return 0; }52 53 47 protected: 54 48 ~WebKitPlatformSupport() { } -
trunk/Source/WebKit/chromium/src/SharedWorkerRepository.cpp
r128087 r137490 70 70 static WebSharedWorkerRepository* sharedWorkerRepository() 71 71 { 72 WebSharedWorkerRepository* repository; 73 74 repository = s_sharedWorkerRepository; 75 if (!repository) { 76 repository = webKitPlatformSupport()->sharedWorkerRepository(); 77 setSharedWorkerRepository(repository); 78 } 79 80 return repository; 72 // Will only be non-zero if the embedder has set the shared worker repository upon initialization. Nothing in WebKit sets this. 73 return s_sharedWorkerRepository; 81 74 } 82 75 … … 219 212 bool SharedWorkerRepository::isAvailable() 220 213 { 221 // Allow the WebKitPlatformSupport to determine if SharedWorkers222 // are available.223 214 return WebKit::sharedWorkerRepository(); 224 215 }
Note: See TracChangeset
for help on using the changeset viewer.