Index: third_party/WebKit/Source/core/page/scrolling/ScrollState.h |
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollState.h b/third_party/WebKit/Source/core/page/scrolling/ScrollState.h |
index 2d77a5083c34f275c4bb81887c5c014a3364332d..050ee6b46e2ed4a6487ce38972c8641e7d5aad0c 100644 |
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollState.h |
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollState.h |
@@ -8,13 +8,15 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/CoreExport.h" |
-#include "core/dom/Element.h" |
#include "core/page/scrolling/ScrollStateInit.h" |
#include "platform/scroll/ScrollStateData.h" |
+#include "wtf/Forward.h" |
#include <deque> |
namespace blink { |
+class Element; |
+ |
class CORE_EXPORT ScrollState final : public GarbageCollectedFinalized<ScrollState>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -90,8 +92,9 @@ public: |
private: |
ScrollState(); |
- ScrollState(PassOwnPtr<ScrollStateData>); |
- PassOwnPtr<ScrollStateData> m_data; |
+ explicit ScrollState(PassOwnPtr<ScrollStateData>); |
+ |
+ OwnPtr<ScrollStateData> m_data; |
std::deque<int> m_scrollChain; |
}; |