Index: content/browser/android/content_settings.cc |
diff --git a/content/browser/android/content_settings.cc b/content/browser/android/content_settings.cc |
index 7c6407fd1774593a4def4460c34841de13e71049..a83169c2ce9dc53161b9421443da58c9da55325a 100644 |
--- a/content/browser/android/content_settings.cc |
+++ b/content/browser/android/content_settings.cc |
@@ -42,7 +42,7 @@ bool ContentSettings::GetJavaScriptEnabled(JNIEnv* env, jobject obj) { |
return render_view_host->GetDelegate()->GetWebkitPrefs().javascript_enabled; |
} |
-void ContentSettings::WebContentsDestroyed(WebContents* web_contents) { |
+void ContentSettings::WebContentsDestroyed() { |
delete this; |
} |