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

Unified Diff: base/mac/scoped_ioobject.h

Issue 9845017: Fix a few warnings that -Wnull-conversion of a future clang will complain about. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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
« no previous file with comments | « no previous file | base/process_util_mac.mm » ('j') | chrome/browser/mac/install_from_dmg.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_ioobject.h
diff --git a/base/mac/scoped_ioobject.h b/base/mac/scoped_ioobject.h
index d5cb90cf6e1641e9547550c350b982d1f79e1503..fb91456937a0741711eed4518d489bc52423204b 100644
--- a/base/mac/scoped_ioobject.h
+++ b/base/mac/scoped_ioobject.h
@@ -59,7 +59,7 @@ class ScopedIOObject {
IOT release() WARN_UNUSED_RESULT {
IOT temp = object_;
- object_ = NULL;
+ object_ = 0;
Mark Mentovai 2012/03/27 21:09:59 It would be proper to use IO_OBJECT_NULL here.
return temp;
}
« no previous file with comments | « no previous file | base/process_util_mac.mm » ('j') | chrome/browser/mac/install_from_dmg.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698