| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| index fbf2a6b4d2bc1c7996310d764e77c4a408854bbd..253491329d2ba98fd2b3fc4da540d973a90beade 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -516,7 +516,7 @@ bool HTMLPlugInElement::shouldUsePlugin(const KURL& url, const String& mimeType,
|
| // installed a plugin that can handle TIFF (which QuickTime can also
|
| // handle) they probably intended to override QT.
|
| if (document().frame()->page() && (mimeType == "image/tiff" || mimeType == "image/tif" || mimeType == "image/x-tiff")) {
|
| - const PluginData* pluginData = document().frame()->page()->pluginData();
|
| + const PluginData* pluginData = document().frame()->pluginData();
|
| String pluginName = pluginData ? pluginData->pluginNameForMimeType(mimeType) : String();
|
| if (!pluginName.isEmpty() && !pluginName.contains("QuickTime", TextCaseInsensitive)) {
|
| useFallback = false;
|
|
|