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

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

Issue 2193473002: Revert "Send got/lostpointercapture immediately if possible" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/events/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index d064d51b6d87905d2d61a632d7c1a03f7599f26c..b486c2d545027c1edcaa39dcbde807acebedb05d 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -45,7 +45,7 @@ public:
// For creating capture events (i.e got/lostpointercapture)
PointerEvent* createPointerCaptureEvent(
- const int pointerId,
+ PointerEvent*,
const AtomicString&);
// For creating boundary events (i.e pointerout/leave/over/enter)
@@ -82,9 +82,8 @@ private:
IncomingId(WebPointerProperties::PointerType pointerType,
int rawId)
: std::pair<int, int>(static_cast<int>(pointerType), rawId) {}
- WebPointerProperties::PointerType pointerType() const { return static_cast<WebPointerProperties::PointerType>(first); }
- int pointerTypeInt() const { return first; }
- int rawId() const { return second; }
+ int pointerType() const {return first;}
+ int rawId() const {return second;}
} IncomingId;
typedef struct PointerAttributes {
IncomingId incomingId;

Powered by Google App Engine
This is Rietveld 408576698