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

Unified Diff: third_party/WebKit/Source/web/ResizeViewportAnchor.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/web/ResizeViewportAnchor.h
diff --git a/third_party/WebKit/Source/web/ResizeViewportAnchor.h b/third_party/WebKit/Source/web/ResizeViewportAnchor.h
index afdf734fc4be39012e1745ad2901e5a439f85e5e..92c62d57809f8a5dee64d4ec30c4da82935bfc70 100644
--- a/third_party/WebKit/Source/web/ResizeViewportAnchor.h
+++ b/third_party/WebKit/Source/web/ResizeViewportAnchor.h
@@ -6,8 +6,8 @@
#define ResizeViewportAnchor_h
#include "core/page/Page.h"
-#include "platform/geometry/DoubleSize.h"
#include "platform/heap/Handle.h"
+#include "platform/scroll/ScrollTypes.h"
namespace blink {
@@ -51,7 +51,7 @@ class ResizeViewportAnchor final
// The amount of resize-induced clamping drift accumulated during the
// ResizeScope. Note that this should NOT include other kinds of scrolling
// that may occur during layout, such as from ScrollAnchor.
- DoubleSize m_drift;
+ ScrollOffset m_drift;
Member<Page> m_page;
int m_scopeCount;
};
« no previous file with comments | « third_party/WebKit/Source/web/LinkHighlightImpl.cpp ('k') | third_party/WebKit/Source/web/ResizeViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698