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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: address comments 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 65b2fdc53609d0d663e60780b1b5f3c3eb536451..6e057f964b629697976d41f3546eafac10c3c177 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2502,8 +2502,7 @@ 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::kComplete);
if (matches_accessibility_mode_complete)
return false;

Powered by Google App Engine
This is Rietveld 408576698