Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 3c353cd186d56380367a5584bbf36e03c8226c7c..c46b321c9bd5f77e868b09f5e945a54165285285 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -836,6 +836,16 @@ String LocalFrame::localLayerTreeAsText(unsigned flags) const |
return contentLayoutObject()->compositor()->layerTreeAsText(static_cast<LayerTreeFlags>(flags)); |
} |
+bool LocalFrame::shouldThrottleRenderingPipeline() const |
+{ |
+ return view() && view()->shouldThrottleRenderingPipeline(); |
+} |
+ |
+bool LocalFrame::shouldThrottleStyleLayoutAndCompositingUpdates() const |
+{ |
+ return view() && view()->shouldThrottleStyleLayoutAndCompositingUpdates(); |
+} |
+ |
inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner) |
: Frame(client, host, owner) |
, m_loader(this) |