summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/script_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/script_context.cc')
-rw-r--r--extensions/renderer/script_context.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/renderer/script_context.cc b/extensions/renderer/script_context.cc
index abf38d4..f6f47f3 100644
--- a/extensions/renderer/script_context.cc
+++ b/extensions/renderer/script_context.cc
@@ -292,8 +292,8 @@ GURL ScriptContext::GetEffectiveDocumentURL(const blink::WebFrame* frame,
if (parent && !parent->document().isNull()) {
// Only return the parent URL if the frame can access it.
const blink::WebDocument& parent_document = parent->document();
- if (frame->document().securityOrigin().canAccess(
- parent_document.securityOrigin())) {
+ if (frame->document().getSecurityOrigin().canAccess(
+ parent_document.getSecurityOrigin())) {
return parent_document.url();
}
}