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 5e979c40ed4872e19c0d7a41a73e207ada4aca20..15ef95fe1feff9f8449644d7be8113682981256e 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -281,6 +281,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) |