Index: chrome/test/base/view_event_test_base.cc |
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc |
index eb9fb3d0de4275acfe77aa79a6ecaa55da9124b1..e2eb2fe514628a7776e5d7d4e0325775d6763379 100644 |
--- a/chrome/test/base/view_event_test_base.cc |
+++ b/chrome/test/base/view_event_test_base.cc |
@@ -23,7 +23,7 @@ |
#include "ash/test/test_session_state_delegate.h" |
#include "ash/test/test_shell_delegate.h" |
#if defined(OS_WIN) |
-#include "ui/compositor/compositor.h" |
+#include "ui/compositor/test/context_factories_for_test.h" |
#endif |
#endif |
@@ -112,7 +112,7 @@ void ViewEventTestBase::SetUp() { |
// ash::Shell code path below handles this, but since we skip it we must |
// do this here. |
bool allow_test_contexts = true; |
- ui::Compositor::InitializeContextFactoryForTests(allow_test_contexts); |
+ ui::InitializeContextFactoryForTests(allow_test_contexts); |
#else // !OS_WIN |
// Ash Shell can't just live on its own without a browser process, we need to |
// also create the message center. |