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

Unified Diff: chrome/browser/ui/find_bar/find_backend_unittest.cc

Issue 7892007: Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH to profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 9 years, 3 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/find_bar/find_backend_unittest.cc
diff --git a/chrome/browser/ui/find_bar/find_backend_unittest.cc b/chrome/browser/ui/find_bar/find_backend_unittest.cc
index ba99a88d1d502f8bfd6c349bbc3789f7d98a7a69..ad612314a4851d358c25cc260e291906673f47b5 100644
--- a/chrome/browser/ui/find_bar/find_backend_unittest.cc
+++ b/chrome/browser/ui/find_bar/find_backend_unittest.cc
@@ -42,7 +42,7 @@ TEST_F(FindBackendTest, InternalState) {
EXPECT_EQ(string16(), find_tab_helper->find_text());
// Get another TabContents object ready.
- TestTabContents* contents2 = new TestTabContents(profile_.get(), NULL);
+ TestTabContents* contents2 = new TestTabContents(profile(), NULL);
TabContentsWrapper wrapper2(contents2);
FindTabHelper* find_tab_helper2 = wrapper2.find_tab_helper();

Powered by Google App Engine
This is Rietveld 408576698