WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 95861
94481
[Chromium] Remove WebKitPlatformSupport::sharedWorkerRepository
https://bugs.webkit.org/show_bug.cgi?id=94481
Summary
[Chromium] Remove WebKitPlatformSupport::sharedWorkerRepository
Mark Pilgrim (Google)
Reported
2012-08-20 07:43:55 PDT
[Chromium] Remove WebKitPlatformSupport::sharedWorkerRepository
Attachments
WIP Incomplete Patch
(9.14 KB, patch)
2012-08-20 07:44 PDT
,
Mark Pilgrim (Google)
peter+ews
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2012-08-20 07:44:35 PDT
Created
attachment 159425
[details]
WIP Incomplete Patch
WebKit Review Bot
Comment 2
2012-08-20 07:46:50 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Mark Pilgrim (Google)
Comment 3
2012-08-20 07:47:27 PDT
Comment on
attachment 159425
[details]
WIP Incomplete Patch This patch is incomplete. I need to find where Chromium implements WebKitPlatformSupport::sharedWorkerRepository() so I can remove that function, then find where Chromium calls WebKit::initialize() so I can add the call to SharedWorkerRepository::setSharedWorkerRepository. Other comments welcome too.
Peter Beverloo (cr-android ews)
Comment 4
2012-08-20 07:51:00 PDT
Comment on
attachment 159425
[details]
WIP Incomplete Patch
Attachment 159425
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/13539602
WebKit Review Bot
Comment 5
2012-08-20 07:51:16 PDT
Comment on
attachment 159425
[details]
WIP Incomplete Patch
Attachment 159425
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13543350
Adam Barth
Comment 6
2012-08-20 11:52:48 PDT
Comment on
attachment 159425
[details]
WIP Incomplete Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159425&action=review
> Source/WebCore/workers/SharedWorkerRepository.h:67 > + // sets global shared worker repository > + static void setSharedWorkerRepository(WebKit::WebSharedWorkerRepository*);
We shouldn't have code in that references Chromium API types outside of Chromium-specific regions of the code. Do we need a SharedWorkerRepositoryChromium.h to house this static method? I didn't find anyone who calls this function, so I'm not sure what to recommend. Do you plan to keep the implementation in Source/WebKit/chromium/src/SharedWorkerRepository.cpp ? If so, it might make sense to put the header for this function in Source/WebKit/chromium/src.
Adam Barth
Comment 7
2012-08-20 11:54:11 PDT
Comment on
attachment 159425
[details]
WIP Incomplete Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159425&action=review
> Source/WebKit/chromium/src/SharedWorkerRepository.cpp:197 > bool SharedWorkerRepository::isAvailable()
Note: In the long term, we don't want to have "namespace WebCore" code in WebKit because it will prevent us from splitting WebCore.dll from WebKit.dll.
Adam Barth
Comment 8
2012-08-20 11:56:10 PDT
> then find where Chromium calls WebKit::initialize()
WebKit::initialize is in
http://trac.webkit.org/browser/trunk/Source/WebKit/chromium/src/WebKit.cpp#L102
Mark Pilgrim (Google)
Comment 9
2012-09-05 09:26:25 PDT
*** This bug has been marked as a duplicate of
bug 95861
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug