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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: build bustage 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
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 65f6b337a9cae51b4f59338f35febd64f5319b6f..367309181387813d9655256f0ebc00e009798b79 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2504,8 +2504,8 @@ bool RenderViewImpl::didTapMultipleTargets(
AccessibilityMode accessibility_mode =
GetMainRenderFrame()->accessibility_mode();
bool matches_accessibility_mode_complete =
- (accessibility_mode & ACCESSIBILITY_MODE_COMPLETE) ==
- ACCESSIBILITY_MODE_COMPLETE;
+ (accessibility_mode & AccessibilityMode::COMPLETE) ==
dmazzoni 2017/02/17 00:21:50 I think you can simplify this now, just (accessibi
+ AccessibilityMode::COMPLETE;
if (matches_accessibility_mode_complete)
return false;
« content/common/accessibility_mode_enums.h ('K') | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698