🎨
This commit is contained in:
parent
f58322891b
commit
03c6fbf80f
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,8 @@ bool WebViewManager::ForEachGuest(content::WebContents* embedder_web_contents,
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_contents) {
|
WebViewManager* WebViewManager::GetWebViewManager(
|
||||||
|
content::WebContents* web_contents) {
|
||||||
auto context = web_contents->GetBrowserContext();
|
auto context = web_contents->GetBrowserContext();
|
||||||
if (context) {
|
if (context) {
|
||||||
auto manager = context->GetGuestManager();
|
auto manager = context->GetGuestManager();
|
||||||
|
|
|
@ -22,7 +22,6 @@ class WebViewManager : public content::BrowserPluginGuestManager {
|
||||||
content::WebContents* embedder,
|
content::WebContents* embedder,
|
||||||
content::WebContents* web_contents);
|
content::WebContents* web_contents);
|
||||||
void RemoveGuest(int guest_instance_id);
|
void RemoveGuest(int guest_instance_id);
|
||||||
|
|
||||||
content::WebContents* GetEmbedder(int guest_instance_id);
|
content::WebContents* GetEmbedder(int guest_instance_id);
|
||||||
|
|
||||||
static WebViewManager* GetWebViewManager(content::WebContents* web_contents);
|
static WebViewManager* GetWebViewManager(content::WebContents* web_contents);
|
||||||
|
|
Loading…
Reference in a new issue