Index: content/browser/devtools/devtools_power_handler.cc |
diff --git a/content/browser/devtools/devtools_power_handler.cc b/content/browser/devtools/devtools_power_handler.cc |
index 27fdf294c6fe88cb35343980cedd6e6f56beb3f3..43772b47607e2dddd54bd4cab003f3f8f5716e3d 100644 |
--- a/content/browser/devtools/devtools_power_handler.cc |
+++ b/content/browser/devtools/devtools_power_handler.cc |
@@ -24,6 +24,7 @@ DevToolsPowerHandler::DevToolsPowerHandler() { |
} |
DevToolsPowerHandler::~DevToolsPowerHandler() { |
+ PowerProfilerService::GetInstance()->RemoveObserver(this); |
} |
void DevToolsPowerHandler::OnPowerEvent(const PowerEventVector& events) { |