Chromium Code Reviews| Index: Source/core/frame/LocalFrame.cpp |
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
| index 3c353cd186d56380367a5584bbf36e03c8226c7c..7f09312d3f4f2da0a007aad80801058fea85da4c 100644 |
| --- a/Source/core/frame/LocalFrame.cpp |
| +++ b/Source/core/frame/LocalFrame.cpp |
| @@ -836,6 +836,20 @@ String LocalFrame::localLayerTreeAsText(unsigned flags) const |
| return contentLayoutObject()->compositor()->layerTreeAsText(static_cast<LayerTreeFlags>(flags)); |
| } |
| +bool LocalFrame::shouldThrottleRenderingPipeline() const |
| +{ |
| + if (view()) |
| + return view()->shouldThrottleRenderingPipeline(); |
|
esprehn
2015/09/02 21:10:37
return view() && view()->...;
Sami
2015/09/03 17:23:20
Done.
|
| + return false; |
| +} |
| + |
| +bool LocalFrame::shouldThrottleStyleLayoutAndCompositingUpdates() const |
| +{ |
| + if (view()) |
| + return view()->shouldThrottleStyleLayoutAndCompositingUpdates(); |
|
esprehn
2015/09/02 21:10:37
ditto
Sami
2015/09/03 17:23:20
Done.
|
| + return false; |
| +} |
| + |
| inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner) |
| : Frame(client, host, owner) |
| , m_loader(this) |