Index: webkit/compositor_bindings/web_content_layer_impl.cc |
diff --git a/webkit/compositor_bindings/web_content_layer_impl.cc b/webkit/compositor_bindings/web_content_layer_impl.cc |
index e386e5275a3d811fb96a233b9c75a19ff42f79b9..7c5ff61ea72161213757ab3a3c782d2e0b1f28d4 100644 |
--- a/webkit/compositor_bindings/web_content_layer_impl.cc |
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc |
@@ -21,7 +21,7 @@ namespace WebKit { |
static bool usingPictureLayer() |
{ |
- return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); |
+ return cc::switches::IsImplSidePaintingEnabled(); |
} |
WebContentLayerImpl::WebContentLayerImpl(WebContentLayerClient* client) |