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

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

Issue 261363002: Rename BrowserPluginGuestManagerDelegate to BrowserPluginGuestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_cleanupguestmanager
Patch Set: 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e11e0091e7732c14c1d28ee570cae3321c8cf065..07f4c8f24f150e1f71fa6b986e806c2c0395e4ac 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -57,7 +57,7 @@
#include "content/port/browser/render_view_host_delegate_view.h"
#include "content/public/browser/ax_event_notification_details.h"
#include "content/public/browser/browser_context.h"
-#include "content/public/browser/browser_plugin_guest_manager_delegate.h"
+#include "content/public/browser/browser_plugin_guest_manager.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/devtools_agent_host.h"
#include "content/public/browser/download_manager.h"
@@ -1418,7 +1418,7 @@ void WebContentsImpl::CreateNewWindow(
// This makes |new_contents| act as a guest.
// For more info, see comment above class BrowserPluginGuest.
int instance_id =
- GetBrowserContext()->GetGuestManagerDelegate()->
+ GetBrowserContext()->GetGuestManager()->
GetNextInstanceID();
WebContentsImpl* new_contents_impl =
static_cast<WebContentsImpl*>(new_contents);

Powered by Google App Engine
This is Rietveld 408576698