| 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 8951fe2f267717a56e37cff755ff3f4a80e0f8ab..13242712697a251ebe7ba219f4297445003ff411 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -837,6 +837,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)
|
|
|