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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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
Index: third_party/WebKit/Source/core/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index f44de15da9eefb205bc0d232251fd3c9a762ad4a..3abe5bda1f794c53ad8eed17557139a6d2426c0d 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -484,8 +484,8 @@ class Internals final : public GarbageCollectedFinalized<Internals>,
int visualViewportHeight();
int visualViewportWidth();
// The scroll position of the visual viewport relative to the document origin.
- double visualViewportScrollX();
- double visualViewportScrollY();
+ float visualViewportScrollX();
+ float visualViewportScrollY();
// Return true if the given use counter exists for the given document.
// |useCounterId| must be one of the values from the UseCounter::Feature enum.

Powered by Google App Engine
This is Rietveld 408576698