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 98042f6431e1ae83107a2ba1ef6af0f1cef8498a..cd2d54dd8d549203fe075624b382c1a2021ae3ab 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -275,6 +275,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) |