WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
46728
Add PluginControllerProxy class
https://bugs.webkit.org/show_bug.cgi?id=46728
Summary
Add PluginControllerProxy class
Anders Carlsson
Reported
2010-09-28 08:51:26 PDT
Add PluginControllerProxy class
Attachments
Patch
(15.52 KB, patch)
2010-09-28 08:55 PDT
,
Anders Carlsson
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2010-09-28 08:55:12 PDT
Created
attachment 69059
[details]
Patch
WebKit Review Bot
Comment 2
2010-09-28 08:57:49 PDT
Attachment 69059
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit2/PluginProcess/PluginControllerProxy.cpp:28: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Roben (:aroben)
Comment 3
2010-09-28 08:59:50 PDT
Comment on
attachment 69059
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69059&action=review
> WebKit2/ChangeLog:17 > + (WebKit::WebProcessConnection::addPluginControllerProxy > + Add the plug-in controller proxy to the map.
Missing the trailing ): here.
> WebKit2/PluginProcess/PluginControllerProxy.h:65 > + // We use a weak reference to the web process connection because the WebProcessConnection has a strong > + // reference to the PluginControllerProxy objects. > + WebProcessConnection* m_connection;
Since PluginControllerProxy is ref-counted, it's hard to guarantee that it doesn't outlive its WebProcessConnection. Maybe we should have a way to tell PluginControllerProxy that its WebProcessConnection has been destroyed.
> WebKit2/PluginProcess/WebProcessConnection.cpp:52 > +void WebProcessConnection::addPluginControllerProxy(PluginControllerProxy* pluginController)
This should take a PassRefPtr.
Anders Carlsson
Comment 4
2010-09-28 09:07:38 PDT
Committed
r68522
: <
http://trac.webkit.org/changeset/68522
>
WebKit Review Bot
Comment 5
2010-09-28 09:24:14 PDT
http://trac.webkit.org/changeset/68522
might have broken GTK Linux 64-bit Debug The following changes are on the blame list:
http://trac.webkit.org/changeset/68521
http://trac.webkit.org/changeset/68522
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