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 a1f3cd60efa89ff2014de9e3dc694cbe09fd68de..c7bd678dcb96f8ed2e5fd35ca8927bef4d9a4574 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -285,6 +285,13 @@ WebFrame* WebFrame::fromFrameOwnerElement(const WebElement& webElement) |
return fromFrame(toHTMLFrameElementBase(element)->contentFrame()); |
} |
+bool WebFrame::isLoading() const |
+{ |
+ if (Frame* frame = toCoreFrame(this)) |
+ return frame->isLoading(); |
+ return false; |
+} |
+ |
WebFrame* WebFrame::fromFrame(Frame* frame) |
{ |
if (!frame) |