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-
Patch (12.60 KB, patch)
2013-08-27 17:51 PDT, Andreas Kling
darin: review+
Patch (12.40 KB, patch)
2013-08-28 06:39 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-08-27 17:30:02 PDT
Early Warning System Bot
Comment 2 2013-08-27 17:37:32 PDT
Early Warning System Bot
Comment 3 2013-08-27 17:40:11 PDT
Andreas Kling
Comment 4 2013-08-27 17:51:13 PDT
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
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.