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

Unified Diff: chrome/browser/views/find_bar_win_browsertest.cc

Issue 140023: Reverting 18872. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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
« no previous file with comments | « chrome/browser/views/find_bar_win.cc ('k') | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_win_browsertest.cc
===================================================================
--- chrome/browser/views/find_bar_win_browsertest.cc (revision 18872)
+++ chrome/browser/views/find_bar_win_browsertest.cc (working copy)
@@ -557,9 +557,8 @@
GURL url = server->TestServerPageW(kSimplePage);
ui_test_utils::NavigateToURL(browser(), url);
- gfx::NativeView browser_view = browser()->window()->GetNativeHandle();
- views::FocusManager* focus_manager =
- views::FocusManager::GetFocusManagerForNativeView(browser_view);
+ views::FocusManager* focus_manager = views::FocusManager::GetFocusManager(
+ browser()->window()->GetNativeHandle());
// See where Escape is registered.
views::Accelerator escape(VK_ESCAPE, false, false, false);
« no previous file with comments | « chrome/browser/views/find_bar_win.cc ('k') | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698