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

Unified Diff: content/gpu/gpu_channel.cc

Issue 6759048: Use system constants instead of NULL for unset PID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« base/process.h ('K') | « base/process.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_channel.cc
===================================================================
--- content/gpu/gpu_channel.cc (revision 80123)
+++ content/gpu/gpu_channel.cc (working copy)
@@ -27,8 +27,8 @@
int renderer_id)
: gpu_render_thread_(gpu_render_thread),
renderer_id_(renderer_id),
- renderer_process_(NULL),
- renderer_pid_(NULL),
+ renderer_process_(base::kNullProcessHandle),
+ renderer_pid_(base::kNullProcessId),
watchdog_thread_(gpu_watchdog_thread) {
DCHECK(gpu_render_thread);
DCHECK(renderer_id);
@@ -271,4 +271,3 @@
return fd;
}
#endif // defined(OS_POSIX)
-
« base/process.h ('K') | « base/process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698