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

Unified Diff: Source/core/page/EventHandler.h

Issue 643143003: Reset all EventHandler data members in EventHandler::clear() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add additional comment regarding usage of clear() Created 6 years, 1 month 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 | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index 5b54c150afc130623a9e41db5971bfff543345d2..299e56cbd81e157dc340524c5f375989512064d7 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -322,6 +322,9 @@ private:
bool panScrollInProgress() const;
void setLastKnownMousePosition(const PlatformMouseEvent&);
+ // NOTE: If adding a new field to this class please ensure that it is
+ // cleared in |EventHandler::clear()|.
+
LocalFrame* const m_frame;
bool m_mousePressed;
« no previous file with comments | « no previous file | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698