WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
120386
Page::pluginData() should return a reference.
https://bugs.webkit.org/show_bug.cgi?id=120386
Summary
Page::pluginData() should return a reference.
Andreas Kling
Reported
2013-08-27 17:23:27 PDT
Page::pluginData() should return a reference.
Attachments
Patch
(10.39 KB, patch)
2013-08-27 17:30 PDT
,
Andreas Kling
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Patch
(12.60 KB, patch)
2013-08-27 17:51 PDT
,
Andreas Kling
darin
: review+
Details
Formatted Diff
Diff
Patch
(12.40 KB, patch)
2013-08-28 06:39 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-08-27 17:30:02 PDT
Created
attachment 209826
[details]
Patch
Early Warning System Bot
Comment 2
2013-08-27 17:37:32 PDT
Comment on
attachment 209826
[details]
Patch
Attachment 209826
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/1621096
Early Warning System Bot
Comment 3
2013-08-27 17:40:11 PDT
Comment on
attachment 209826
[details]
Patch
Attachment 209826
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/1591394
Andreas Kling
Comment 4
2013-08-27 17:51:13 PDT
Created
attachment 209827
[details]
Patch
Darin Adler
Comment 5
2013-08-27 18:17:20 PDT
Comment on
attachment 209827
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=209827&action=review
> Source/WebCore/loader/SubframeLoader.cpp:197 > + const PluginData& pluginData = page->pluginData(); > + String pluginFile = pluginData.pluginFileForMimeType(newMIMEType);
Local variable not needed here. The old code had it to help it check against null.
> Source/WebCore/loader/SubframeLoader.cpp:418 > + const PluginData& pluginData = m_frame->page()->pluginData(); > + String pluginName = pluginData.pluginNameForMimeType(mimeType);
Local variable not needed here. The old code had it to help it check against null.
> Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1408 > + const PluginData& pluginData = webPage->corePage()->pluginData(); > + if (pluginSupportsExtension(pluginData, extension))
Local variable not needed here. The old code had it to help it check against null.
Andreas Kling
Comment 6
2013-08-28 06:39:34 PDT
Created
attachment 209875
[details]
Patch
WebKit Commit Bot
Comment 7
2013-08-28 07:10:43 PDT
Comment on
attachment 209875
[details]
Patch Clearing flags on attachment: 209875 Committed
r154743
: <
http://trac.webkit.org/changeset/154743
>
WebKit Commit Bot
Comment 8
2013-08-28 07:10:47 PDT
All reviewed patches have been landed. Closing bug.
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