Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: chrome/browser/chrome_browser_application_mac.mm

Issue 10825447: chrome/browser should build on the x86_64 architecture (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_application_mac.mm
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index baed0bbfa736e270e23be7e5bade0a110ca2fddb..3aa0a9c52f27b5cabb3baa668e059ac5c8de0f2a 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -389,7 +389,10 @@ void SwizzleInit() {
NSString* actionString = NSStringFromSelector(anAction);
NSString* value =
[NSString stringWithFormat:@"%@ tag %d sending %@ to %p",
- [sender className], tag, actionString, aTarget];
+ [sender className],
+ static_cast<int32_t>(tag),
Mark Mentovai 2012/08/20 13:25:58 The correct way to deal with NSInteger is a cast t
+ actionString,
+ aTarget];
base::mac::ScopedCrashKey key(kActionKey, value);

Powered by Google App Engine
This is Rietveld 408576698