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

Unified Diff: chrome/browser/autofill/autofill_dialog_controller_mac.mm

Issue 6539002: Begun the DCHECK() cleanup. Starting off with /src/chrome/a* and /src/chrome/... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 10 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/autofill/autofill_dialog_controller_mac.mm
===================================================================
--- chrome/browser/autofill/autofill_dialog_controller_mac.mm (revision 75286)
+++ chrome/browser/autofill/autofill_dialog_controller_mac.mm (working copy)
@@ -335,7 +335,7 @@
- (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 @@
}
// 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.

Powered by Google App Engine
This is Rietveld 408576698