WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
139987
Move Pasteboard code out of WebProcessPool and into its own singleton class
https://bugs.webkit.org/show_bug.cgi?id=139987
Summary
Move Pasteboard code out of WebProcessPool and into its own singleton class
Sam Weinig
Reported
2014-12-29 09:34:12 PST
Move Pasteboard code out of WebProcessPool and into its own singleton class
Attachments
Patch
(59.18 KB, patch)
2014-12-29 09:37 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(56.91 KB, patch)
2014-12-29 10:19 PST
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2014-12-29 09:37:00 PST
Created
attachment 243797
[details]
Patch
Anders Carlsson
Comment 2
2014-12-29 09:47:38 PST
Comment on
attachment 243797
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=243797&action=review
> Source/WebKit2/Shared/WebPasteboardProxy.cpp:40 > + static WebPasteboardProxy* proxy; > + static dispatch_once_t once; > + dispatch_once(&once, ^{ > + proxy = new WebPasteboardProxy; > + });
You can use LazyNeverDestroyed here.
> Source/WebKit2/Shared/WebPasteboardProxy.messages.in:57 > +#if !PLATFORM(COCOA) > + // FIXME: This a dummy message, to avoid breaking the build for platforms that don't require > + // any synchronous messages, and should be removed when <
rdar://problem/8775115
> is fixed. > + Dummy() -> (bool dummyReturn) > +#endif
I don't think this is needed.
> Source/WebKit2/UIProcess/WebProcessPool.cpp:-1169 > - if (decoder.messageReceiverName() == Messages::WebProcessPool::messageReceiverName()) { > - didReceiveSyncWebProcessPoolMessage(connection, decoder, replyEncoder); > - return; > - }
I think we stil need this for now since I moved the message handling code to WebProcessPool.
Sam Weinig
Comment 3
2014-12-29 10:19:57 PST
Created
attachment 243799
[details]
Patch
Sam Weinig
Comment 4
2014-12-29 10:23:45 PST
Committed
r177794
: <
http://trac.webkit.org/changeset/177794
>
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