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 cdd9c6fbb6f6d1ea873a1687edf2075da08398c2..4eead30b47626c40da76b3083f485ddf167d9d11 100644 |
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
@@ -327,7 +327,7 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu) |
if (ds) |
data.securityInfo = ds->response().securityInfo(); |
- data.referrerPolicy = static_cast<WebReferrerPolicy>(selectedFrame->document()->referrerPolicy()); |
+ data.referrerPolicy = static_cast<WebReferrerPolicy>(selectedFrame->document()->getReferrerPolicy()); |
// Filter out custom menu elements and add them into the data. |
populateCustomMenuItems(defaultMenu, &data); |