diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:25:50 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:25:50 +0000 |
commit | ff780127e87c0213ffabd40421d433ea6557b442 (patch) | |
tree | 9bc16209b8e7da016e5a39bc4579e934ca76a55b | |
parent | 84f78468c2d465279280bc2061c4d019ad765a48 (diff) | |
download | chromium_src-ff780127e87c0213ffabd40421d433ea6557b442.zip chromium_src-ff780127e87c0213ffabd40421d433ea6557b442.tar.gz chromium_src-ff780127e87c0213ffabd40421d433ea6557b442.tar.bz2 |
doh
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49985 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/callback.h | 2 | ||||
-rw-r--r-- | chrome/browser/chrome_browser_application_mac.mm | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/base/callback.h b/base/callback.h index 17a1adc..47f9c9a 100644 --- a/base/callback.h +++ b/base/callback.h @@ -125,7 +125,7 @@ struct Callback0 { }; template <class T> -typename Callback0::Type* NewCallback(T* object, void (T::*method)()) { +Callback0::Type* NewCallback(T* object, void (T::*method)()) { return new CallbackImpl<T, void (T::*)(), Tuple0 >(object, method); } diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm index 979fd2b..f696e96 100644 --- a/chrome/browser/chrome_browser_application_mac.mm +++ b/chrome/browser/chrome_browser_application_mac.mm @@ -85,11 +85,7 @@ size_t BinForException(NSException* exception) { // A list of common known exceptions. The list position will // determine where they live in the histogram, so never move them // around, only add to the end. -<<<<<<< HEAD static NSString* const kKnownNSExceptionNames[] = { -======= - static NSString* kKnownNSExceptionNames[] = { ->>>>>>> more // ??? NSGenericException, @@ -280,11 +276,7 @@ BOOL SwizzleNSExceptionInit() { // When a Cocoa control is wired to a freed object, we get crashers // in the call to |super| with no useful information in the // backtrace. Attempt to add some useful information. -<<<<<<< HEAD static NSString* const kActionKey = @"sendaction"; -======= - static NSString* kActionKey = @"sendaction"; ->>>>>>> more // If the action is something generic like -commandDispatch:, then // the tag is essential. @@ -326,15 +318,9 @@ BOOL SwizzleNSExceptionInit() { // is tracked because it may be the one which caused the system to // go off the rails. The last exception thrown is tracked because // it may be the one most directly associated with the crash. -<<<<<<< HEAD static NSString* const kFirstExceptionKey = @"firstexception"; static BOOL trackedFirstException = NO; static NSString* const kLastExceptionKey = @"lastexception"; -======= - static NSString* kFirstExceptionKey = @"firstexception"; - static BOOL trackedFirstException = NO; - static NSString* kLastExceptionKey = @"lastexception"; ->>>>>>> more // TODO(shess): It would be useful to post some stacktrace info // from the exception. |