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

Unified Diff: sky/engine/core/frame/NewEventHandler.h

Issue 866213004: Switch Sky to pointer events (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nits Created 5 years, 11 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: sky/engine/core/frame/NewEventHandler.h
diff --git a/sky/engine/core/frame/NewEventHandler.h b/sky/engine/core/frame/NewEventHandler.h
index 0fc5b845947b944a4afd4692526683c2dedae232..37165ded087e2eb42c882f5bfd1063b863027333 100644
--- a/sky/engine/core/frame/NewEventHandler.h
+++ b/sky/engine/core/frame/NewEventHandler.h
@@ -5,6 +5,7 @@
#ifndef SKY_ENGINE_CORE_FRAME_NEWEVENTHANDLER_H_
#define SKY_ENGINE_CORE_FRAME_NEWEVENTHANDLER_H_
+#include <map>
#include "sky/engine/core/dom/Node.h"
#include "sky/engine/core/rendering/HitTestRequest.h"
#include "sky/engine/core/rendering/HitTestResult.h"
@@ -36,7 +37,7 @@ private:
HitTestResult performHitTest(const LayoutPoint&);
void updateSelectionForPointerDown(const HitTestResult&, const WebPointerEvent&);
- typedef HashMap<int, RefPtr<Node>> PointerTargetMap;
+ typedef std::map<int, RefPtr<Node>> PointerTargetMap;
ojan 2015/01/23 10:23:55 Why didn't HashMap work? stl containers are terrib
abarth-chromium 2015/01/23 16:51:33 I kept having trouble with HashMap asserting in ch
LocalFrame& m_frame;
PointerTargetMap m_targetForPointer;

Powered by Google App Engine
This is Rietveld 408576698