summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_dialog_controller_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_dialog_controller_mac.mm')
-rw-r--r--chrome/browser/autofill/autofill_dialog_controller_mac.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/autofill/autofill_dialog_controller_mac.mm b/chrome/browser/autofill/autofill_dialog_controller_mac.mm
index 039d137..b046704 100644
--- a/chrome/browser/autofill/autofill_dialog_controller_mac.mm
+++ b/chrome/browser/autofill/autofill_dialog_controller_mac.mm
@@ -335,7 +335,7 @@ class PreferenceObserver : public NotificationObserver {
- (void)addressAddDidEnd:(NSWindow*)sheet
returnCode:(int)returnCode
contextInfo:(void*)contextInfo {
- DCHECK(contextInfo == NULL);
+ DCHECK(!contextInfo);
if (returnCode) {
// Create a new address and save it to the |profiles_| list.
@@ -359,10 +359,10 @@ class PreferenceObserver : public NotificationObserver {
}
// Add credit card sheet was dismissed. Non-zero |returnCode| indicates a save.
-- (void)creditCardAddDidEnd:(NSWindow *)sheet
+- (void)creditCardAddDidEnd:(NSWindow*)sheet
returnCode:(int)returnCode
- contextInfo:(void *)contextInfo {
- DCHECK(contextInfo == NULL);
+ contextInfo:(void*)contextInfo {
+ DCHECK(!contextInfo);
if (returnCode) {
// Create a new credit card and save it to the |creditCards_| list.