| 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 5718ac82550f1d63e9b5574f9407988c554bf62c..ed05618b07ae7bac1f96455b39d745f2e253b58f 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -465,7 +465,7 @@ LayoutEmbeddedItem HTMLPlugInElement::layoutEmbeddedItem() const {
|
| // depending on <param> values.
|
| bool HTMLPlugInElement::allowedToLoadFrameURL(const String& url) {
|
| KURL completeURL = document().completeURL(url);
|
| - if (contentFrame() && protocolIsJavaScript(completeURL) &&
|
| + if (contentFrame() && completeURL.protocolIsJavaScript() &&
|
| !document().getSecurityOrigin()->canAccess(
|
| contentFrame()->securityContext()->getSecurityOrigin()))
|
| return false;
|
|
|