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

Unified Diff: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h

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: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
diff --git a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
index 12ad0bc532815948f63081eeddf088af42cff84c..5a89ed9145bb4ade5b102694e15d26a58faa6831 100644
--- a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
+++ b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
@@ -42,6 +42,9 @@ class DistillerJsRenderFrameObserver : public content::RenderFrameObserver {
void CreateDistillerPageNotifierService(
mojo::InterfaceRequest<mojom::DistillerPageNotifierService> request);
+ // RenderFrameObserver implementation.
+ void OnDestruct() override;
+
// The isolated world that the distiller object should be written to.
int distiller_isolated_world_id_;

Powered by Google App Engine
This is Rietveld 408576698