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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 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: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index 1c616d3227a782fb383fd0f9e4438eff00d5bb12..ed1ffd697d43b82a43c5256fbfd81f78cd8d9364 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -323,7 +323,7 @@ void Scrollbar::setPressedPart(ScrollbarPart part) {
bool Scrollbar::gestureEvent(const WebGestureEvent& evt,
bool* shouldUpdateCapture) {
DCHECK(shouldUpdateCapture);
- switch (evt.type) {
+ switch (evt.type()) {
case WebInputEvent::GestureTapDown: {
IntPoint position = flooredIntPoint(evt.positionInRootFrame());
setPressedPart(theme().hitTest(*this, position));

Powered by Google App Engine
This is Rietveld 408576698