Index: ui/gfx/compositor/compositor_setup.h |
diff --git a/ui/gfx/compositor/compositor_setup.h b/ui/gfx/compositor/compositor_setup.h |
index 717fbf921e5ddd9bc420e3026e4ca39baa7f8aa0..9978e7fe345a63fdebb3fabbf8a7265f67c2e3a9 100644 |
--- a/ui/gfx/compositor/compositor_setup.h |
+++ b/ui/gfx/compositor/compositor_setup.h |
@@ -12,7 +12,7 @@ namespace ui { |
// Configures the compositor in such a way that it doesn't render anything. |
// Does nothing on platforms that aren't using the compositor. |
-#if !defined(VIEWS_COMPOSITOR) |
+#if !defined(USE_AURA) |
// To centralize the ifdef to this file we define the function as doing nothing |
// on all platforms that don't use a compositor. |
static inline void SetupTestCompositor() {} |