| Index: Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
|
| index 69bfeb5b995340253ba783cb9b956ae475b4a5a2..dc6eb1df7c1b4de1486c439570acf92d388c539c 100644
|
| --- a/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -437,7 +437,7 @@ bool HTMLPlugInElement::requestObject(const String& url, const String& mimeType,
|
|
|
| bool useFallback;
|
| bool requireRenderer = true;
|
| - if (shouldUsePlugin(completedURL, mimeType, renderer->hasFallbackContent(), useFallback))
|
| + if (shouldUsePlugin(completedURL, mimeType, hasFallbackContent(), useFallback))
|
| return loadPlugin(completedURL, mimeType, paramNames, paramValues, useFallback, requireRenderer);
|
|
|
| // If the plug-in element already contains a subframe,
|
| @@ -555,6 +555,11 @@ void HTMLPlugInElement::willAddFirstAuthorShadowRoot()
|
| lazyReattachIfAttached();
|
| }
|
|
|
| +bool HTMLPlugInElement::hasFallbackContent() const
|
| +{
|
| + return false;
|
| +}
|
| +
|
| bool HTMLPlugInElement::useFallbackContent() const
|
| {
|
| return hasAuthorShadowRoot();
|
|
|