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

Unified Diff: content/browser/android/content_settings.cc

Issue 10908285: Add WebContents accessor in ContentViewCore interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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: content/browser/android/content_settings.cc
diff --git a/content/browser/android/content_settings.cc b/content/browser/android/content_settings.cc
index 63f32b8f64176aff94e2ea70dee13960eb6db734..a436c382388b63ba7871410b9612e004ad344efb 100644
--- a/content/browser/android/content_settings.cc
+++ b/content/browser/android/content_settings.cc
@@ -331,7 +331,7 @@ static jint Init(JNIEnv* env, jobject obj, jint nativeContentViewCore,
jboolean is_master_mode) {
WebContents* web_contents =
reinterpret_cast<ContentViewCoreImpl*>(nativeContentViewCore)
- ->web_contents();
+ ->GetWebContents();
ContentSettings* content_settings =
new ContentSettings(env, obj, web_contents, is_master_mode);
return reinterpret_cast<jint>(content_settings);
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.h » ('j') | content/public/browser/android/content_view_core.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698