Index: chrome/gpu/gpu_channel.cc |
diff --git a/chrome/gpu/gpu_channel.cc b/chrome/gpu/gpu_channel.cc |
index 091410c1c340438d83fe36be38a94401b0f817ff..ed0bfc3e4a7310f7d19b6a57d68756dc0947d385 100644 |
--- a/chrome/gpu/gpu_channel.cc |
+++ b/chrome/gpu/gpu_channel.cc |
@@ -105,7 +105,7 @@ void GpuChannel::OnCreateViewCommandBuffer(gfx::NativeViewId view_id, |
#if defined(ENABLE_GPU) |
- gfx::PluginWindowHandle handle = NULL; |
+ gfx::PluginWindowHandle handle = gfx::kNullPluginWindow; |
#if defined(OS_WIN) |
gfx::NativeView view = gfx::NativeViewFromId(view_id); |
@@ -151,7 +151,7 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(int32 parent_route_id, |
scoped_ptr<GpuCommandBufferStub> stub(new GpuCommandBufferStub( |
this, |
- NULL, |
+ gfx::kNullPluginWindow, |
parent_stub, |
size, |
parent_texture_id, |