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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 167802e3cf36a3ca338c77473964e1d9c0036f30..76af0616fe51b6069d86bda1221e5dd23d7a1d0c 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -1020,4 +1020,8 @@ void BlinkTestRunner::ReportLeakDetectionResult(
Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report));
}
+void BlinkTestRunner::OnDestruct() {
+ delete this;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698