Page::pluginData() should return a reference.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 14:11:49 +0000 (14:11 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 14:11:49 +0000 (14:11 +0000)
commit1119a024cc940325a1a8be3b16f221917ae455c4
treebaa9d83874e934dbcfe729775423cf3c4863cec5
parent9adeca10ec082fcddeb4477ea278076492faa72a
Page::pluginData() should return a reference.
<https://webkit.org/b/120386>

Reviewed by Darin Adler.

The PluginData is lazily constructed by pluginData(); it never returns null.
A small number of null checks were harmed in the making of this patch.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/WebCore/ChangeLog
Source/WebCore/dom/DOMImplementation.cpp
Source/WebCore/loader/SubframeLoader.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebCore/plugins/DOMMimeTypeArray.cpp
Source/WebCore/plugins/DOMPluginArray.cpp
Source/WebKit/mac/WebView/WebFrame.mm
Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
Source/WebKit/win/WebView.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.cpp