This commit is contained in:
Kevin Sawicki 2016-05-25 10:20:00 -07:00
parent f58322891b
commit 03c6fbf80f
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,8 @@ bool WebViewManager::ForEachGuest(content::WebContents* embedder_web_contents,
}
// static
WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_contents) {
WebViewManager* WebViewManager::GetWebViewManager(
content::WebContents* web_contents) {
auto context = web_contents->GetBrowserContext();
if (context) {
auto manager = context->GetGuestManager();

View file

@ -22,7 +22,6 @@ class WebViewManager : public content::BrowserPluginGuestManager {
content::WebContents* embedder,
content::WebContents* web_contents);
void RemoveGuest(int guest_instance_id);
content::WebContents* GetEmbedder(int guest_instance_id);
static WebViewManager* GetWebViewManager(content::WebContents* web_contents);