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

Unified Diff: cc/blink/web_layer_impl.h

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index eaa2f05ae98da211c3d1cea1a09cdd581df94df0..010eac20a654dd97ad245bb2754868f64489601a 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -99,8 +99,8 @@ class CC_BLINK_EXPORT WebLayerImpl : public NON_EXPORTED_BASE(blink::WebLayer) {
void setFiltersOrigin(const blink::WebFloatPoint& origin) override;
void setBackgroundFilters(const cc::FilterOperations& filters) override;
bool hasActiveAnimationForTesting() override;
- void setScrollPositionDouble(blink::WebDoublePoint position) override;
- blink::WebDoublePoint scrollPositionDouble() const override;
+ void setScrollOffset(blink::WebFloatSize position) override;
+ blink::WebFloatSize scrollOffset() const override;
void setScrollClipLayer(blink::WebLayer* clip_layer) override;
bool scrollable() const override;
void setUserScrollable(bool horizontal, bool vertical) override;
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698