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 1c4b5b4cce46d5568969978b2dec78a3d8687ee9..89a33fd0ba39ed929698f0a8f40e2c83e1748942 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()) |