Fix devtools.

This commit is contained in:
Cheng Zhao 2013-04-12 16:41:15 +08:00
parent f5e74e1b65
commit f62b00eaac
2 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@ void NativeWindow::ShowDevTools() {
}
void NativeWindow::CloseDevTools() {
// inspectable_web_contents()->CloseDevTools();
inspectable_web_contents()->GetView()->CloseDevTools();
}
content::WebContents* NativeWindow::GetWebContents() const {