summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 00:16:28 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 00:16:28 +0000
commit11b901ee17f1ef5aa41c70046b7a5360534c633d (patch)
tree9dd5ca2b4ec4864658218126afc2f813a2c32c68 /base/gfx
parent64f5c3c6952e4861a269dd8e0d396ecea584ffa1 (diff)
downloadchromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.zip
chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.gz
chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.bz2
Use gcc 4.2 for the Mac build. Fix up new warnings and errors pointed out
by gcc 4.2: warning: 'C' has a field 'C::m_' whose type uses the anonymous namespace warning: missing braces around initializer for 'S' error: extra qualification 'C::' on member 'm' Review URL: http://codereview.chromium.org/1675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rwxr-xr-xbase/gfx/platform_device_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gfx/platform_device_mac.cc b/base/gfx/platform_device_mac.cc
index 6c8b0da..9185dae 100755
--- a/base/gfx/platform_device_mac.cc
+++ b/base/gfx/platform_device_mac.cc
@@ -57,7 +57,7 @@ void PlatformDeviceMac::LoadPathToCGContext(CGContextRef context,
// type per call, so we just have to load up the geometry.
CGContextBeginPath(context);
- SkPoint points[4] = {0};
+ SkPoint points[4] = { {0, 0}, {0, 0}, {0, 0}, {0, 0} };
SkPath::Iter iter(path, false);
for (SkPath::Verb verb = iter.next(points); verb != SkPath::kDone_Verb;
verb = iter.next(points)) {