summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/gpu/gpu_main.cc')
-rw-r--r--chrome/gpu/gpu_main.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/chrome/gpu/gpu_main.cc b/chrome/gpu/gpu_main.cc
index 5c8f27f..5d0e090 100644
--- a/chrome/gpu/gpu_main.cc
+++ b/chrome/gpu/gpu_main.cc
@@ -7,6 +7,7 @@
#include "app/app_switches.h"
#include "app/gfx/gl/gl_context.h"
#include "app/gfx/gl/gl_implementation.h"
+#include "app/win/scoped_com_initializer.h"
#include "base/environment.h"
#include "base/message_loop.h"
#include "base/stringprintf.h"
@@ -30,10 +31,6 @@
#include "chrome/common/sandbox_mac.h"
#endif
-#if defined(OS_WIN)
-#include "app/win_util.h"
-#endif
-
#if defined(USE_X11)
#include "gfx/gtk_util.h"
#endif
@@ -77,9 +74,7 @@ int GpuMain(const MainFunctionParams& parameters) {
MessageLoop main_message_loop(MessageLoop::TYPE_UI);
base::PlatformThread::SetName("CrGpuMain");
-#if defined(OS_WIN)
- win_util::ScopedCOMInitializer com_initializer;
-#endif
+ app::win::ScopedCOMInitializer com_initializer;
#if defined(USE_X11)
// The X11 port of the command buffer code assumes it can access the X