Index: webkit/compositor_bindings/web_image_layer_impl.cc |
diff --git a/webkit/compositor_bindings/web_image_layer_impl.cc b/webkit/compositor_bindings/web_image_layer_impl.cc |
index b66d27baacb6ce2259c8662e7ca330b02cf16ba9..4d17eb4a30225bfc4709f51393d50fe30fe70738 100644 |
--- a/webkit/compositor_bindings/web_image_layer_impl.cc |
+++ b/webkit/compositor_bindings/web_image_layer_impl.cc |
@@ -12,7 +12,7 @@ |
static bool usingPictureLayer() |
{ |
- return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); |
+ return cc::switches::IsImplSidePaintingEnabled(); |
} |
namespace WebKit { |