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

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 7211029: Fix a regression where extension APIs would sometimes not be available on the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reset is_init Created 9 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
Index: content/browser/renderer_host/render_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index f5aa764a43496602608dc2c3eac4cd63aafc62d1..b3f4921bb17b68ab4c66b22045c8c497f0798765 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -111,6 +111,8 @@ RenderViewHost::RenderViewHost(SiteInstance* instance,
DCHECK(instance_);
CHECK(delegate_); // http://crbug.com/82827
+ process()->PrepareForReuse();
Charlie Reis 2011/06/22 00:52:31 Just as a sanity check, is it definitely the case
Matt Perry 2011/06/22 21:14:12 I think so. is_initialized_ was originally added e
+
content::GetContentClient()->browser()->RenderViewHostCreated(this);
NotificationService::current()->Notify(

Powered by Google App Engine
This is Rietveld 408576698