summaryrefslogtreecommitdiffstats
path: root/chrome/gpu
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 22:01:17 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 22:01:17 +0000
commitde9e0b5949b3a512787ae174137714e0effb7546 (patch)
treec0be42c51ac8009fd9b8ffdbf64a242124bce783 /chrome/gpu
parent36ee0327a9acf37dd445918029015994d88fb6f0 (diff)
downloadchromium_src-de9e0b5949b3a512787ae174137714e0effb7546.zip
chromium_src-de9e0b5949b3a512787ae174137714e0effb7546.tar.gz
chromium_src-de9e0b5949b3a512787ae174137714e0effb7546.tar.bz2
Mac: Unbreak --no-gpu-sandbox.
This regressed when I moved CrApplication out of base. BUG=none TEST=none Review URL: http://codereview.chromium.org/6065007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu')
-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");