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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2863693003: Unify TouchAction classes (Closed)
Patch Set: add cstdlib Created 3 years, 7 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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 32bfe0a1f7bd6404309540f6d3822ce589191ca1..854caa6ad9cf524eda5a754d235b4ff1352ce470 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2760,7 +2760,7 @@ bool WebViewImpl::ScrollFocusedEditableElementIntoRect(
// not to zoom in if the user won't be able to zoom out. e.g if the textbox
// is within a touch-action: none container the user can't zoom back out.
TouchAction action = TouchActionUtil::ComputeEffectiveTouchAction(*element);
- if (!(action & kTouchActionPinchZoom))
+ if (!(action & TouchAction::kTouchActionPinchZoom))
zoom_in_to_legible_scale = false;
}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698