Index: Source/core/frame/PinchViewport.h |
diff --git a/Source/core/frame/PinchViewport.h b/Source/core/frame/PinchViewport.h |
index 4e2ca93d2803bbc5783a82408e17544e95d8e1bf..2dbc16f5707d489172e4a3a528693d1e50703b95 100644 |
--- a/Source/core/frame/PinchViewport.h |
+++ b/Source/core/frame/PinchViewport.h |
@@ -69,6 +69,10 @@ public: |
void attachToLayerTree(GraphicsLayer*, GraphicsLayerFactory*); |
GraphicsLayer* rootGraphicsLayer() |
{ |
+ return m_rootTransformLayer.get(); |
+ } |
+ GraphicsLayer* containerLayer() |
+ { |
return m_innerViewportContainerLayer.get(); |
} |
@@ -141,6 +145,7 @@ private: |
LocalFrame* mainFrame() const; |
FrameHost& m_frameHost; |
+ OwnPtr<GraphicsLayer> m_rootTransformLayer; |
OwnPtr<GraphicsLayer> m_innerViewportContainerLayer; |
OwnPtr<GraphicsLayer> m_pageScaleLayer; |
OwnPtr<GraphicsLayer> m_innerViewportScrollLayer; |