| Index: content/browser/android/content_settings.cc
|
| ===================================================================
|
| --- content/browser/android/content_settings.cc (revision 286686)
|
| +++ content/browser/android/content_settings.cc (working copy)
|
| @@ -39,7 +39,7 @@
|
| 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() {
|
|
|