Merge pull request #9 from aroben/frontend-host-crash

frontend_host_ should be destructed after devtools_web_contents_.
This commit is contained in:
Adam Roben 2013-05-01 07:50:39 -07:00
commit 57ed898128

View file

@ -76,10 +76,10 @@ private:
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
scoped_ptr<content::WebContents> web_contents_;
scoped_ptr<content::DevToolsClientHost> frontend_host_;
scoped_ptr<content::WebContents> devtools_web_contents_;
scoped_ptr<InspectableWebContentsView> view_;
scoped_refptr<content::DevToolsAgentHost> agent_host_;
scoped_ptr<content::DevToolsClientHost> frontend_host_;
std::string dock_side_;
DISALLOW_COPY_AND_ASSIGN(InspectableWebContentsImpl);