diff options
author | Nicolas Roard <nicolas@android.com> | 2010-12-08 11:37:30 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-12-16 13:41:16 -0800 |
commit | 8c3b4386c279f644e5e9d2c5769fe5a43c6cd0ca (patch) | |
tree | 91dbe20f39c9e0235f2f4f2e3fbf3b01430e7fe9 /WebCore/platform/graphics/android/ScrollableLayerAndroid.h | |
parent | 211482b53e73a386e2aabb0d3acb92e0e7ea22d4 (diff) | |
download | external_webkit-8c3b4386c279f644e5e9d2c5769fe5a43c6cd0ca.zip external_webkit-8c3b4386c279f644e5e9d2c5769fe5a43c6cd0ca.tar.gz external_webkit-8c3b4386c279f644e5e9d2c5769fe5a43c6cd0ca.tar.bz2 |
Cleanup pass to make files compliant with webkit style
Change-Id: I9234be0c1559d5cc11af73ebd8cc14f98f6a4c2e
Diffstat (limited to 'WebCore/platform/graphics/android/ScrollableLayerAndroid.h')
-rw-r--r-- | WebCore/platform/graphics/android/ScrollableLayerAndroid.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/android/ScrollableLayerAndroid.h b/WebCore/platform/graphics/android/ScrollableLayerAndroid.h index 25f9900..697fe74 100644 --- a/WebCore/platform/graphics/android/ScrollableLayerAndroid.h +++ b/WebCore/platform/graphics/android/ScrollableLayerAndroid.h @@ -32,7 +32,8 @@ public: : LayerAndroid(layer) , m_scrollLimits(layer.m_scrollLimits) {} ScrollableLayerAndroid(const LayerAndroid& layer) - : LayerAndroid(layer) { + : LayerAndroid(layer) + { m_scrollLimits.setEmpty(); } virtual ~ScrollableLayerAndroid() {}; @@ -51,7 +52,8 @@ public: // fBottom = maxY void getScrollRect(SkIRect* out) const; - void setScrollLimits(float x, float y, float width, float height) { + void setScrollLimits(float x, float y, float width, float height) + { m_scrollLimits.set(x, y, x + width, y + height); } @@ -63,4 +65,4 @@ private: #endif // USE(ACCELERATED_COMPOSITING) -#endif // LayerAndroid_h +#endif // LayerAndroid_h |