Merge pull request #66 from brightray/crash-closing-devtools

mac: Close devtools when web contents is destroyed.
This commit is contained in:
Cheng Zhao
2014-08-08 12:51:20 +08:00

View File

@@ -17,6 +17,7 @@ InspectableWebContentsViewMac::InspectableWebContentsViewMac(InspectableWebConte
}
InspectableWebContentsViewMac::~InspectableWebContentsViewMac() {
CloseDevTools();
}
gfx::NativeView InspectableWebContentsViewMac::GetNativeView() const {