summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorjeffbailey@chromium.org <jeffbailey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 22:05:13 +0000
committerjeffbailey@chromium.org <jeffbailey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 22:05:13 +0000
commit38788d94bc411c89d6a0bbebe6e0628e401e43e4 (patch)
tree8b8b788d590ec475ee563758f8cb5572d5da5adc /content/gpu
parentbcdf45cfeee3bbeaa8e661a3556145ea6df2529c (diff)
downloadchromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.zip
chromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.tar.gz
chromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.tar.bz2
Use system constants instead of NULL for unset PID.
Review URL: http://codereview.chromium.org/6759048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_channel.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/gpu/gpu_channel.cc b/content/gpu/gpu_channel.cc
index 5f51e2c..d531179 100644
--- a/content/gpu/gpu_channel.cc
+++ b/content/gpu/gpu_channel.cc
@@ -27,8 +27,8 @@ GpuChannel::GpuChannel(GpuRenderThread* gpu_render_thread,
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 @@ int GpuChannel::GetRendererFileDescriptor() {
return fd;
}
#endif // defined(OS_POSIX)
-