Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 41409ffe31be6f73a6ddbd9a404ed374b3e7ffe1..988ace43b3a9107e74cdc3cf9ae5c0025dc75fbf 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -841,6 +841,11 @@ String LocalFrame::localLayerTreeAsText(unsigned flags) const |
return contentLayoutObject()->compositor()->layerTreeAsText(static_cast<LayerTreeFlags>(flags)); |
} |
+bool LocalFrame::shouldThrottleRendering() const |
+{ |
+ return view() && view()->shouldThrottleRendering(); |
+} |
+ |
inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner) |
: Frame(client, host, owner) |
, m_loader(this) |