Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp

Issue 2850623002: [DevTools] Cleanup overlay resources in Dispose (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp b/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp
index 2db1b96bbf8755f107b26ab386f5bb07b21dd038..449bc2e37a89c6b1ebc64ac40b86cd65cc4be5b4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.cpp
@@ -43,6 +43,10 @@ void InspectorOverlayHost::stepOver() {
listener_->OverlaySteppedOver();
}
+void InspectorOverlayHost::ClearListener() {
+ listener_.Clear();
+}
+
DEFINE_TRACE(InspectorOverlayHost) {
visitor->Trace(listener_);
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h ('k') | third_party/WebKit/Source/web/InspectorOverlayAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698