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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 196133012: Fix incorrect use of AXState caused when refactoring two enums into one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dependency Created 6 years, 9 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: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index df73e4c8b9699a93eb0a1de6b608df224339c5f2..64640c92fd920d24e1e76864bf5d8bf23b74bc82 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -1138,7 +1138,7 @@ void LocationBarView::GetAccessibleState(ui::AXViewState* state) {
state->selection_end = entry_end;
if (is_popup_mode_) {
- state->state |= ui::AX_STATE_READ_ONLY;
+ state->SetStateFlag(ui::AX_STATE_READ_ONLY);
} else {
state->set_value_callback =
base::Bind(&LocationBarView::AccessibilitySetValue,

Powered by Google App Engine
This is Rietveld 408576698