Index: chrome/installer/gcapi_mac/gcapi.mm |
diff --git a/chrome/installer/gcapi_mac/gcapi.mm b/chrome/installer/gcapi_mac/gcapi.mm |
index 2530e8d2077dead82d06ad6a682e4903c70797e7..12413f51ebe504ada0268be61c39c32682f7fa74 100644 |
--- a/chrome/installer/gcapi_mac/gcapi.mm |
+++ b/chrome/installer/gcapi_mac/gcapi.mm |
@@ -122,3 +122,10 @@ int GoogleChromeCompatibilityCheck(unsigned* reasons) { |
return local_reasons == 0; |
} |
+ |
+int LaunchGoogleChrome() { |
+ @autoreleasepool { |
Mark Mentovai
2012/05/18 19:15:06
You used an explicit NSAutoreleasePool in GoogleCh
Nico
2012/05/18 19:21:24
In GCCC, @autoreleasepool would indent the whole f
|
+ return [[NSWorkspace sharedWorkspace] |
+ launchApplication:@"/Applications/Google Chrome.app"]; |
+ } |
+} |