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

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

Issue 348015: Fix and re-enable a test I broke with the find bar changes I made last night.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/views/find_bar_host_browsertest.cc
===================================================================
--- chrome/browser/views/find_bar_host_browsertest.cc (revision 30478)
+++ chrome/browser/views/find_bar_host_browsertest.cc (working copy)
@@ -43,7 +43,7 @@
protected:
void GetFindBarWindowInfo(gfx::Point* position, bool* fully_visible) {
FindBarTesting* find_bar =
- browser()->find_bar()->find_bar()->GetFindBarTesting();
+ browser()->GetFindBarController()->find_bar()->GetFindBarTesting();
find_bar->GetFindBarWindowInfo(position, fully_visible);
}
};
@@ -605,7 +605,7 @@
EXPECT_NE(new_target, old_target);
// Close the Find box.
- browser()->find_bar()->EndFindSession();
+ browser()->GetFindBarController()->EndFindSession();
// The accelerator for Escape should be back to what it was before.
EXPECT_EQ(old_target, focus_manager->GetCurrentTargetForAccelerator(escape));

Powered by Google App Engine
This is Rietveld 408576698