diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 10:45:01 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 10:45:01 +0000 |
commit | 0cf986fdacf68aa07f1edbd907d5d1b336950c22 (patch) | |
tree | 2ca577940ce466210e2cfe16270285a54a2f70ef /ppapi/proxy/serialized_structs.cc | |
parent | ff4968f34d58e12a60cc1cee2ef4d3a9692bf740 (diff) | |
download | chromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.zip chromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.tar.gz chromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.tar.bz2 |
Initialize a few uninitialized member variables and structs in PPAPI.
BUG=None
TEST=None
CID=14043, 14386, 14232, 14230, 14112, 14111, 14110, 14109, 14108, 14231, 14042, 14187, 14664.
Review URL: http://codereview.chromium.org/6676145
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/serialized_structs.cc')
-rw-r--r-- | ppapi/proxy/serialized_structs.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ppapi/proxy/serialized_structs.cc b/ppapi/proxy/serialized_structs.cc index 1e9ded0..142a926 100644 --- a/ppapi/proxy/serialized_structs.cc +++ b/ppapi/proxy/serialized_structs.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -71,6 +71,12 @@ PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() : instance(0), font_desc(), color(0) { + clip.point.x = 0; + clip.point.y = 0; + clip.size.height = 0; + clip.size.width = 0; + position.x = 0; + position.y = 0; } PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |