Index: chrome/gpu/gpu_main.cc |
diff --git a/chrome/gpu/gpu_main.cc b/chrome/gpu/gpu_main.cc |
index e370ce33633742e60425997e5101f165a0bb4eca..2464c2f163cc47257c840f100a65fc186510d6e4 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"); |