Index: third_party/WebKit/Source/core/frame/Frame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp |
index 37419eab41b87f90c6573ba4858e5d3152e46cfe..570d4d1b134b1d36761e1dc2b266e580d7214193 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.cpp |
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp |
@@ -281,6 +281,13 @@ Settings* Frame::settings() const |
return nullptr; |
} |
+void Frame::scheduleVisualUpdateUnlessThrottled() |
+{ |
+ if (isLocalFrame() && toLocalFrame(this)->shouldThrottleRendering()) |
+ return; |
+ page()->animator().scheduleVisualUpdate(); |
+} |
+ |
Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner) |
: m_treeNode(this) |
, m_host(host) |