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

Unified Diff: content/browser/browser_plugin/test_guest_manager.cc

Issue 306003002: Move guest lifetime management to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content_browsertests crash Created 6 years, 7 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/browser_plugin/test_guest_manager.cc
diff --git a/content/browser/browser_plugin/test_guest_manager.cc b/content/browser/browser_plugin/test_guest_manager.cc
index f686cab581c9b2127d5175089366e8e01f2046ad..e60f842fa2ead0e4d8195b7b3671ebd8e16b45f7 100644
--- a/content/browser/browser_plugin/test_guest_manager.cc
+++ b/content/browser/browser_plugin/test_guest_manager.cc
@@ -108,7 +108,7 @@ WebContents* TestGuestManager::CreateGuest(
WebContentsImpl* guest_web_contents = static_cast<WebContentsImpl*>(
WebContents::Create(create_params));
BrowserPluginGuest* guest = guest_web_contents->GetBrowserPluginGuest();
- guest_web_contents->GetBrowserPluginGuest()->SetDelegate(
+ guest_web_contents->GetBrowserPluginGuest()->set_delegate(
new TestBrowserPluginGuestDelegate(guest));
AddGuest(instance_id, guest_web_contents);
return guest_web_contents;

Powered by Google App Engine
This is Rietveld 408576698