Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index a8591449e4b193374bcd33aeb9366782d554bbba..f79db976758ed7dded11ed2d2367c60fb7130280 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -667,7 +667,7 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh, |
prefs.deferred_image_decoding_enabled = |
command_line.HasSwitch(switches::kEnableDeferredImageDecoding) || |
- command_line.HasSwitch(cc::switches::kEnableImplSidePainting); |
+ cc::switches::IsImplSidePaintingEnabled(); |
GetContentClient()->browser()->OverrideWebkitPrefs(rvh, url, &prefs); |