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

Unified Diff: chrome/browser/ui/views/bubble/bubble.cc

Issue 7349021: Convert some more view methods to the ui/views style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/bubble/bubble.cc
===================================================================
--- chrome/browser/ui/views/bubble/bubble.cc (revision 92366)
+++ chrome/browser/ui/views/bubble/bubble.cc (working copy)
@@ -335,7 +335,7 @@
GetWidget()->Close();
} else if (action == WA_ACTIVE) {
DCHECK(GetWidget()->GetRootView()->has_children());
- GetWidget()->GetRootView()->GetChildViewAt(0)->RequestFocus();
+ GetWidget()->GetRootView()->child_at(0)->RequestFocus();
}
}
#elif defined(TOOLKIT_USES_GTK)

Powered by Google App Engine
This is Rietveld 408576698