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

Unified Diff: third_party/WebKit/public/platform/WebGestureEvent.h

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/public/platform/WebGestureEvent.h
diff --git a/third_party/WebKit/public/platform/WebGestureEvent.h b/third_party/WebKit/public/platform/WebGestureEvent.h
index 838370f19b802a46ac548f0cdf00d7ff3dc75b0c..360c713574f3b4db895903016cd72ec5860bedaf 100644
--- a/third_party/WebKit/public/platform/WebGestureEvent.h
+++ b/third_party/WebKit/public/platform/WebGestureEvent.h
@@ -194,12 +194,12 @@ class WebGestureEvent : public WebInputEvent {
// TODO(tdresser) Once we've decided if we're getting rid of scroll
// chaining, we should remove all scroll chaining related logic. See
// crbug.com/526462 for details.
- DCHECK(type == WebInputEvent::GestureScrollUpdate);
+ DCHECK(m_type == WebInputEvent::GestureScrollUpdate);
return true;
}
bool isScrollEvent() const {
- switch (type) {
+ switch (m_type) {
case GestureScrollBegin:
case GestureScrollEnd:
case GestureScrollUpdate:
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/public/platform/WebInputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698