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

Unified Diff: chrome/gpu/gpu_channel.cc

Issue 3014034: Linux: Fix some NULL versus 0 issues to appease gcc-4.5. (Closed)
Patch Set: Created 10 years, 5 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/gl/gl_context_linux.cc ('k') | webkit/glue/plugins/pepper_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « app/gfx/gl/gl_context_linux.cc ('k') | webkit/glue/plugins/pepper_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698