Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableState.h

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/CompositorMutableState.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableState.h b/third_party/WebKit/Source/platform/graphics/CompositorMutableState.h
index 66c590c2b765ff7ef90f5f1ced4d12efa062cc86..4922aee537ec9ac6023917f533f6fdd2db247ee8 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableState.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableState.h
@@ -31,11 +31,11 @@ class PLATFORM_EXPORT CompositorMutableState {
const SkMatrix44& transform() const;
void setTransform(const SkMatrix44&);
- double scrollLeft() const;
- void setScrollLeft(double);
+ float scrollLeft() const;
+ void setScrollLeft(float);
- double scrollTop() const;
- void setScrollTop(double);
+ float scrollTop() const;
+ void setScrollTop(float);
private:
CompositorMutation* m_mutation;

Powered by Google App Engine
This is Rietveld 408576698