InspectableWebContents should be able to accept existing WebContents.

This commit is contained in:
Cheng Zhao 2013-04-20 13:24:45 +08:00
parent 80cb76355c
commit 082aa61870
4 changed files with 9 additions and 4 deletions

View file

@ -31,7 +31,7 @@ class InspectableWebContentsImpl :
public:
static void RegisterPrefs(PrefRegistrySimple*);
InspectableWebContentsImpl(const content::WebContents::CreateParams&);
InspectableWebContentsImpl(content::WebContents*);
virtual ~InspectableWebContentsImpl() OVERRIDE;
virtual InspectableWebContentsView* GetView() const OVERRIDE;