Bug 120386

Summary: Page::pluginData() should return a reference.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Plug-insAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, japhet, kangil.han, webkit-ews
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
webkit-ews: commit-queue-
Patch
darin: review+
Patch none

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.