Index: third_party/WebKit/Source/web/WebFrame.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp |
index fe56e611da944226c22080c7cc3dba7c46439f28..afd16400368a7c9cfa82958b5399ab06dea1a7e1 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -285,6 +285,14 @@ WebFrame* WebFrame::fromFrameOwnerElement(const WebElement& webElement) |
return fromFrame(toHTMLFrameOwnerElement(element)->contentFrame()); |
} |
+bool WebFrame::canHaveSecureChild() const |
+{ |
+ Frame* frame = toImplBase()->frame(); |
+ if (!frame) |
+ return false; |
+ return frame->canHaveSecureChild(); |
+} |
+ |
bool WebFrame::isLoading() const |
{ |
if (Frame* frame = toImplBase()->frame()) |