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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 10038026: TabContents -> WebContentsImpl, part 12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: *web*contents Created 8 years, 8 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: content/browser/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index 5d0f73dd48dd89d5e4e631edc52ced86404b8f2b..5e9a02ba24b86b1a1cd0eae2bbdee685e404d589 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -218,7 +218,7 @@ class TestInterstitialPage : public InterstitialPageImpl {
protected:
virtual content::RenderViewHost* CreateRenderViewHost() OVERRIDE {
return new TestRenderViewHost(
- SiteInstance::Create(tab()->GetBrowserContext()),
+ SiteInstance::Create(web_contents()->GetBrowserContext()),
this, MSG_ROUTING_NONE);
}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/web_contents/web_contents_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698