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

Unified Diff: components/plugins/renderer/webview_plugin.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: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index ebe456b59f7c9273a0182349d280c743bf8b4cf3..968ed150b44deff6e63b364327ce8b52663b2cd6 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -336,10 +336,7 @@ void WebViewPlugin::didReceiveResponse(unsigned identifier,
WebFrameClient::didReceiveResponse(identifier, response);
}
-void WebViewPlugin::OnDestruct() {
- // By default RenderViewObservers are destroyed along with the RenderView.
- // WebViewPlugin has a custom destruction mechanism, so we disable this.
-}
+void WebViewPlugin::OnDestruct() {}
void WebViewPlugin::OnZoomLevelChanged() {
if (container_) {

Powered by Google App Engine
This is Rietveld 408576698