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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 9f47d6e10ce3fcf1c5dcab99cac0f074d698e5d1..208585d7af83e48a1ed63bc2b1436893cec7586d 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -38,6 +38,7 @@
#include "core/dom/SpaceSplitString.h"
#include "core/html/CollectionType.h"
#include "platform/heap/Handle.h"
+#include "platform/scroll/ScrollTypes.h"
#include "public/platform/WebFocusType.h"
namespace blink {
@@ -663,8 +664,8 @@ class CORE_EXPORT Element : public ContainerNode {
bool hasClass() const;
const SpaceSplitString& classNames() const;
- IntSize savedLayerScrollOffset() const;
- void setSavedLayerScrollOffset(const IntSize&);
+ ScrollOffset savedLayerScrollOffset() const;
+ void setSavedLayerScrollOffset(const ScrollOffset&);
ElementAnimations* elementAnimations() const;
ElementAnimations& ensureElementAnimations();
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/zoom-body-scroll-expected.txt ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698