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

Unified Diff: base/multiprocess_test.h

Issue 195067: Turn NULL used as int to 0.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « app/gfx/native_widget_types.h ('k') | base/platform_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/multiprocess_test.h
===================================================================
--- base/multiprocess_test.h (revision 28691)
+++ base/multiprocess_test.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_MULTIPROCESS_TEST_H__
-#define BASE_MULTIPROCESS_TEST_H__
+#ifndef BASE_MULTIPROCESS_TEST_H_
+#define BASE_MULTIPROCESS_TEST_H_
#include "base/base_switches.h"
#include "base/command_line.h"
@@ -106,7 +106,7 @@
const base::file_handle_mapping_vector& fds_to_map,
bool debug_on_start) {
CommandLine cl(*CommandLine::ForCurrentProcess());
- base::ProcessHandle handle = static_cast<base::ProcessHandle>(NULL);
+ base::ProcessHandle handle = base::kNullProcessHandle;
cl.AppendSwitchWithValue(kRunClientProcess, procname);
if (debug_on_start)
@@ -118,4 +118,4 @@
#endif
};
-#endif // BASE_MULTIPROCESS_TEST_H__
+#endif // BASE_MULTIPROCESS_TEST_H_
« no previous file with comments | « app/gfx/native_widget_types.h ('k') | base/platform_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698