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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "ipc/ipc_channel_handle.h" 6 #include "ipc/ipc_channel_handle.h"
7 7
8 #define IPC_MESSAGE_IMPL 8 #define IPC_MESSAGE_IMPL
9 #include "chrome/common/plugin_messages.h" 9 #include "chrome/common/plugin_messages.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 double_value(0), 50 double_value(0),
51 npobject_routing_id(-1) { 51 npobject_routing_id(-1) {
52 } 52 }
53 53
54 NPVariant_Param::~NPVariant_Param() { 54 NPVariant_Param::~NPVariant_Param() {
55 } 55 }
56 56
57 PluginMsg_UpdateGeometry_Param::PluginMsg_UpdateGeometry_Param() 57 PluginMsg_UpdateGeometry_Param::PluginMsg_UpdateGeometry_Param()
58 : transparent(false), 58 : transparent(false),
59 #if !defined(OS_MACOSX) 59 #if !defined(OS_MACOSX)
60 windowless_buffer(NULL), 60 windowless_buffer(TransportDIB::DefaultHandleValue()),
61 background_buffer(NULL) 61 background_buffer(TransportDIB::DefaultHandleValue())
62 #else 62 #else
63 ack_key(-1) 63 ack_key(-1)
64 #endif // !defined(OS_MACOSX) 64 #endif // !defined(OS_MACOSX)
65 { 65 {
66 } 66 }
67 67
68 PluginMsg_UpdateGeometry_Param::~PluginMsg_UpdateGeometry_Param() { 68 PluginMsg_UpdateGeometry_Param::~PluginMsg_UpdateGeometry_Param() {
69 } 69 }
70 70
71 namespace IPC { 71 namespace IPC {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 l->append(", "); 305 l->append(", ");
306 LogParam(p.transparent, l); 306 LogParam(p.transparent, l);
307 #if defined(OS_MACOSX) 307 #if defined(OS_MACOSX)
308 l->append(", "); 308 l->append(", ");
309 LogParam(p.ack_key, l); 309 LogParam(p.ack_key, l);
310 #endif 310 #endif
311 l->append(")"); 311 l->append(")");
312 } 312 }
313 313
314 } // namespace IPC 314 } // namespace IPC
OLDNEW
« 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