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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.cpp

Issue 2722643002: Add back DCHECK for pointer type in PointerEventFactory (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/PointerEventFactory.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
index 600874c7ae42b4f32662e4179a0b7e46eb7890b6..d38bd6f030f413255ad225d63203a4869da13a4f 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
@@ -277,9 +277,7 @@ PointerEvent* PointerEventFactory::create(
// and enable this DCHECK again.
// DCHECK_EQ(mouseEvent.id, coalescedMouseEvent.id);
- // TODO(crbug.com/684292): We need further investigation of why the
- // following DCHECK fails.
- // DCHECK_EQ(mouseEvent.pointerType, coalescedMouseEvent.pointerType);
+ DCHECK_EQ(mouseEvent.pointerType, coalescedMouseEvent.pointerType);
PointerEventInit coalescedEventInit = pointerEventInit;
updateMousePointerEventInit(coalescedMouseEvent, view,
&coalescedEventInit);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698