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

Unified Diff: content/public/test/frame_load_waiter.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
« no previous file with comments | « content/public/test/frame_load_waiter.h ('k') | content/renderer/accessibility/renderer_accessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/frame_load_waiter.cc
diff --git a/content/public/test/frame_load_waiter.cc b/content/public/test/frame_load_waiter.cc
index 65b7f93c224041e1f8868f7b0b18b1419525a88b..5dd5bb8e150177491a6967faf39f27bed73b8bf4 100644
--- a/content/public/test/frame_load_waiter.cc
+++ b/content/public/test/frame_load_waiter.cc
@@ -26,4 +26,8 @@ void FrameLoadWaiter::DidFinishLoad() {
run_loop_.QuitClosure());
}
+void FrameLoadWaiter::OnDestruct() {
+ delete this;
+}
+
} // namespace content
« no previous file with comments | « content/public/test/frame_load_waiter.h ('k') | content/renderer/accessibility/renderer_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698