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..db9958db7fb351f813c056a1410c013e2949ef10 100644 |
--- a/webkit/compositor_bindings/web_image_layer_impl.cc |
+++ b/webkit/compositor_bindings/web_image_layer_impl.cc |
@@ -7,12 +7,12 @@ |
#include "base/command_line.h" |
#include "cc/image_layer.h" |
#include "cc/picture_image_layer.h" |
-#include "cc/switches.h" |
+#include "cc/util.h" |
#include "webkit/compositor_bindings/web_layer_impl.h" |
static bool usingPictureLayer() |
{ |
- return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); |
+ return cc::IsImplSidePaintingEnabled(CommandLine::ForCurrentProcess()); |
} |
namespace WebKit { |