Index: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
index 4eead30b47626c40da76b3083f485ddf167d9d11..3dce1b80e9cae8f2f4388c85828b84897346037a 100644 |
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
@@ -268,7 +268,7 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu) |
// It mostly works to convert the security origin to a URL, but |
// extensions accessing that property will not get the correct value |
// in that case. See https://crbug.com/534561 |
- WebSecurityOrigin origin = m_webView->mainFrame()->securityOrigin(); |
+ WebSecurityOrigin origin = m_webView->mainFrame()->getSecurityOrigin(); |
if (!origin.isNull()) |
data.pageURL = KURL(ParsedURLString, origin.toString()); |
} else { |