Index: chrome/service/chrome_service_application_mac.mm |
diff --git a/chrome/service/chrome_service_application_mac.mm b/chrome/service/chrome_service_application_mac.mm |
index 845d9f06f77304bbe625d4cda1c0c6964c5ab439..c77e521c25a93482dd9869934f94a5d6bfd5eb00 100644 |
--- a/chrome/service/chrome_service_application_mac.mm |
+++ b/chrome/service/chrome_service_application_mac.mm |
@@ -9,12 +9,12 @@ |
#import "chrome/common/cloud_print/cloud_print_class_mac.h" |
#include "chrome/common/chrome_switches.h" |
-@interface ServiceCrApplication () |
+@interface ServiceApplication () |
- (void)setCloudPrintHandler; |
- (void)submitPrint:(NSAppleEventDescriptor*)event; |
@end |
-@implementation ServiceCrApplication |
+@implementation ServiceApplication |
-(void)setCloudPrintHandler { |
Robert Sesek
2011/12/02 17:10:17
nit: space after -
Scott Hess - ex-Googler
2011/12/02 19:15:25
Done.
Whoa, hold the phone ... can you see any re
|
NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager]; |
@@ -90,10 +90,10 @@ |
namespace chrome_service_application_mac { |
-void RegisterServiceCrApp() { |
- ServiceCrApplication* var = |
- static_cast<ServiceCrApplication*> |
- ([ServiceCrApplication sharedApplication]); |
+void RegisterServiceApp() { |
+ ServiceApplication* var = |
+ base::mac::ObjCCastStrict<ServiceApplication>( |
+ [ServiceApplication sharedApplication]); |
[var setCloudPrintHandler]; |
} |