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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_main.cc b/chrome/gpu/gpu_main.cc
index e370ce3..2464c2f 100644
--- a/chrome/gpu/gpu_main.cc
+++ b/chrome/gpu/gpu_main.cc
@@ -25,6 +25,7 @@
#endif
#if defined(OS_MACOSX)
+#include "chrome/common/chrome_application_mac.h"
#include "chrome/common/sandbox_mac.h"
#endif
@@ -75,6 +76,10 @@ int GpuMain(const MainFunctionParams& parameters) {
ChildProcess::WaitForDebugger(L"Gpu");
}
+#if defined(OS_MACOSX)
+ chrome_application_mac::RegisterCrApp();
+#endif
+
MessageLoop main_message_loop(MessageLoop::TYPE_UI);
PlatformThread::SetName("CrGpuMain");