| Index: chromecast/browser/cast_content_window.h
|
| diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h
|
| index 9047a522d75288e1d9921e27266bef100ef481ba..bdc610b5400323c99ca60ff3a33129e11cab932d 100644
|
| --- a/chromecast/browser/cast_content_window.h
|
| +++ b/chromecast/browser/cast_content_window.h
|
| @@ -13,8 +13,6 @@
|
| #include "ui/events/event.h"
|
|
|
| namespace content {
|
| -class BrowserContext;
|
| -class SiteInstance;
|
| class WebContents;
|
| }
|
|
|
| @@ -53,17 +51,6 @@ class CastContentWindow {
|
| // |window_manager| should outlive this CastContentWindow.
|
| virtual void ShowWebContents(content::WebContents* web_contents,
|
| CastWindowManager* window_manager) = 0;
|
| -
|
| - // Creates a WebContents.
|
| - // TODO(derekjchow): remove this function from this class, since it doesn't
|
| - // have anything to do with displaying web_contents.
|
| - virtual std::unique_ptr<content::WebContents> CreateWebContents(
|
| - content::BrowserContext* browser_context,
|
| - scoped_refptr<content::SiteInstance> site_instance) = 0;
|
| - std::unique_ptr<content::WebContents> CreateWebContents(
|
| - content::BrowserContext* browser_context) {
|
| - return CreateWebContents(browser_context, nullptr);
|
| - }
|
| };
|
|
|
| } // namespace shell
|
|
|