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 088e801cca84bcabe5163912eb370149aaa7f802..921c864324a5e0e2d81527f3938928446c9480b0 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
@@ -453,7 +453,7 @@ bool HTMLPlugInElement::allowedToLoadFrameURL(const String& url) |
{ |
KURL completeURL = document().completeURL(url); |
if (contentFrame() && protocolIsJavaScript(completeURL) |
- && !document().securityOrigin()->canAccess(contentFrame()->securityContext()->securityOrigin())) |
+ && !document().getSecurityOrigin()->canAccess(contentFrame()->securityContext()->getSecurityOrigin())) |
return false; |
return document().frame()->isURLAllowed(completeURL); |
} |
@@ -583,7 +583,7 @@ bool HTMLPlugInElement::allowedToLoadObject(const KURL& url, const String& mimeT |
if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) |
return false; |
- if (!document().securityOrigin()->canDisplay(url)) { |
+ if (!document().getSecurityOrigin()->canDisplay(url)) { |
FrameLoader::reportLocalLoadFailed(frame, url.getString()); |
return false; |
} |