Index: chrome/browser/debugger/devtools_client_host.h |
diff --git a/chrome/browser/debugger/devtools_client_host.h b/chrome/browser/debugger/devtools_client_host.h |
index e62237d22c9b428af2ae19cd9a56b6f0f5b32e1c..952f532ecfe0b357e49ea49f18282f9bd8e2abd4 100644 |
--- a/chrome/browser/debugger/devtools_client_host.h |
+++ b/chrome/browser/debugger/devtools_client_host.h |
@@ -41,19 +41,14 @@ class DevToolsClientHost { |
close_listener_ = listener; |
} |
- virtual DevToolsWindow* AsDevToolsWindow() { return NULL; } |
+ virtual DevToolsWindow* AsDevToolsWindow(); |
protected: |
DevToolsClientHost() : close_listener_(NULL) {} |
// Should be called when the devtools client is going to die and this |
// DevToolsClientHost should not be used anymore. |
- void NotifyCloseListener() { |
- if (close_listener_) { |
- close_listener_->ClientHostClosing(this); |
- close_listener_ = NULL; |
- } |
- } |
+ void NotifyCloseListener(); |
private: |
CloseListener* close_listener_; |