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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 646693003: Removing the CVC parameter from ShowRepostFormWarningDialog Callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments. Created 6 years, 2 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/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index c85896bde4c56550b17eea059006c661bf63eaf2..178ae3d95160c834fb143bcff515265a1b21358d 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -318,12 +318,7 @@ void WebContentsDelegateAndroid::ShowRepostFormWarningDialog(
ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env);
if (obj.is_null())
return;
- ScopedJavaLocalRef<jobject> content_view_core =
- content::ContentViewCore::FromWebContents(source)->GetJavaObject();
- if (content_view_core.is_null())
- return;
- Java_WebContentsDelegateAndroid_showRepostFormWarningDialog(env, obj.obj(),
- content_view_core.obj());
+ Java_WebContentsDelegateAndroid_showRepostFormWarningDialog(env, obj.obj());
}
void WebContentsDelegateAndroid::ToggleFullscreenModeForTab(

Powered by Google App Engine
This is Rietveld 408576698