diff options
author | John Reck <jreck@google.com> | 2012-06-12 16:32:53 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-06-12 16:32:53 -0700 |
commit | b8dbaafe072de1d92a3de8d9be6165683a647ace (patch) | |
tree | 3ccce502b2aaa51319b7a51d6cb197a04cb78554 /Source/WebCore/platform | |
parent | 9b2be7161983b795edb1ea0e9e70547cd9e466bd (diff) | |
parent | f8a89eaa1361ce1e71ec7fa9065103fd0b305b5f (diff) | |
download | external_webkit-b8dbaafe072de1d92a3de8d9be6165683a647ace.zip external_webkit-b8dbaafe072de1d92a3de8d9be6165683a647ace.tar.gz external_webkit-b8dbaafe072de1d92a3de8d9be6165683a647ace.tar.bz2 |
Merge "Call the right updatePositions*" into jb-dev
Diffstat (limited to 'Source/WebCore/platform')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/LayerAndroid.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h index f821d89..79c84b4 100644 --- a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h @@ -199,13 +199,6 @@ public: void dumpLayers(FILE*, int indentLevel) const; void dumpToLog() const; - /** Call this with the current viewport (scrolling, zoom) to update - the position of the fixed layers. - - This call is recursive, so it should be called on the root of the - hierarchy. - */ - void updateLayerPositions(SkRect viewPort, IFrameLayerAndroid* parentIframeLayer = 0); virtual IFrameLayerAndroid* updatePosition(SkRect viewport, IFrameLayerAndroid* parentIframeLayer); @@ -297,6 +290,13 @@ public: } protected: + /** Call this with the current viewport (scrolling, zoom) to update + the position of the fixed layers. + + This call is recursive, so it should be called on the root of the + hierarchy. + */ + void updateLayerPositions(SkRect viewPort, IFrameLayerAndroid* parentIframeLayer = 0); virtual void onDraw(SkCanvas*, SkScalar opacity, android::DrawExtra* extra, PaintStyle style); virtual InvalidateFlags onSetHwAccelerated(bool hwAccelerated) { return InvalidateNone; } TransformationMatrix m_drawTransform; |