Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index ce35899fc4e1e681de5daaaeb6c3bc29d0ed5f1e..b900c2d78d6d31817c1f773aa69953ea117c5358 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -45,7 +45,7 @@ namespace { |
// Whether to use accelerated compositing when necessary (e.g. when a view has a |
// transformation). |
-#if defined(VIEWS_COMPOSITOR) |
+#if defined(USE_AURA) |
bool use_acceleration_when_possible = true; |
#else |
bool use_acceleration_when_possible = false; |