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

Unified Diff: chrome/common/plugin_messages.cc

Issue 6186008: Linux: fix a bunch of NULL vs. 0 issues spotted by gcc 4.5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « chrome/browser/ui/tabs/dock_info_unittest.cc ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_messages.cc
diff --git a/chrome/common/plugin_messages.cc b/chrome/common/plugin_messages.cc
index d9117ff88fc08ef2f52a0a62555139e52b849120..26d2aecc77b5f5157508692d07d128bfcdc0c9d9 100644
--- a/chrome/common/plugin_messages.cc
+++ b/chrome/common/plugin_messages.cc
@@ -57,8 +57,8 @@ NPVariant_Param::~NPVariant_Param() {
PluginMsg_UpdateGeometry_Param::PluginMsg_UpdateGeometry_Param()
: transparent(false),
#if !defined(OS_MACOSX)
- windowless_buffer(NULL),
- background_buffer(NULL)
+ windowless_buffer(TransportDIB::DefaultHandleValue()),
+ background_buffer(TransportDIB::DefaultHandleValue())
#else
ack_key(-1)
#endif // !defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/ui/tabs/dock_info_unittest.cc ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698