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 d215b2978b9423d4751b6d647565b827baaca669..257fb29dcc073f0353f16d3c65aca33a18fc6165 100644 |
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
@@ -330,12 +330,6 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu, bool |
if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "rtl") != FalseTriState) |
data.writingDirectionRightToLeft |= WebContextMenuData::CheckableMenuItemChecked; |
- // Now retrieve the security info. |
- DocumentLoader* dl = selectedFrame->loader().documentLoader(); |
- WebDataSource* ds = WebDataSourceImpl::fromDocumentLoader(dl); |
- if (ds) |
- data.securityInfo = ds->response().securityInfo(); |
- |
data.referrerPolicy = static_cast<WebReferrerPolicy>(selectedFrame->document()->getReferrerPolicy()); |
// Filter out custom menu elements and add them into the data. |