diff options
Diffstat (limited to 'content/browser/android/content_settings.cc')
-rw-r--r-- | content/browser/android/content_settings.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/android/content_settings.cc b/content/browser/android/content_settings.cc index 2d32143..7ab181b 100644 --- a/content/browser/android/content_settings.cc +++ b/content/browser/android/content_settings.cc @@ -39,7 +39,7 @@ bool ContentSettings::GetJavaScriptEnabled(JNIEnv* env, jobject obj) { RenderViewHost* render_view_host = web_contents()->GetRenderViewHost(); if (!render_view_host) return false; - return render_view_host->GetWebkitPreferences().javascript_enabled; + return render_view_host->GetDelegate()->GetWebkitPrefs().javascript_enabled; } void ContentSettings::WebContentsDestroyed() { |