Chromium Code Reviews| Index: Source/core/frame/PinchViewport.h |
| diff --git a/Source/core/frame/PinchViewport.h b/Source/core/frame/PinchViewport.h |
| index 3565dafce63376422446c811876ca2368050938f..0c814fdcb4a628d2f3ea17bd8a18adb7420ae06a 100644 |
| --- a/Source/core/frame/PinchViewport.h |
| +++ b/Source/core/frame/PinchViewport.h |
| @@ -69,7 +69,12 @@ public: |
| void attachToLayerTree(GraphicsLayer*, GraphicsLayerFactory*); |
| GraphicsLayer* rootGraphicsLayer() |
| { |
| - return m_innerViewportContainerLayer.get(); |
| + return m_rootTransformLayer.get(); |
| + } |
| + |
| + GraphicsLayer* rootTransformLayer() |
| + { |
| + return m_rootTransformLayer.get(); |
|
Ian Vollick
2014/06/04 13:22:12
why two accessors for the same value?
bokan
2014/06/04 15:12:26
You're right, this is overly verbose. Removed.
|
| } |
| // Sets the location of the inner viewport relative to the outer viewport. The |
| @@ -132,6 +137,7 @@ private: |
| LocalFrame* mainFrame() const; |
| FrameHost& m_frameHost; |
| + OwnPtr<GraphicsLayer> m_rootTransformLayer; |
| OwnPtr<GraphicsLayer> m_innerViewportContainerLayer; |
| OwnPtr<GraphicsLayer> m_pageScaleLayer; |
| OwnPtr<GraphicsLayer> m_innerViewportScrollLayer; |