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

Unified Diff: webkit/glue/plugins/pepper_scrollbar.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 | « webkit/glue/plugins/pepper_image_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_scrollbar.cc
diff --git a/webkit/glue/plugins/pepper_scrollbar.cc b/webkit/glue/plugins/pepper_scrollbar.cc
index 48db8d40cbb5ea5357bb1fdd5db1e22fc24722eb..e6e691be38e49c6df299ce1e1fa9cab668eacd32 100644
--- a/webkit/glue/plugins/pepper_scrollbar.cc
+++ b/webkit/glue/plugins/pepper_scrollbar.cc
@@ -28,7 +28,7 @@ namespace {
PP_Resource Create(PP_Instance instance_id, bool vertical) {
PluginInstance* instance = PluginInstance::FromPPInstance(instance_id);
if (!instance)
- return NULL;
+ return 0;
scoped_refptr<Scrollbar> scrollbar(new Scrollbar(instance, vertical));
return scrollbar->GetReference();
« no previous file with comments | « webkit/glue/plugins/pepper_image_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698