summaryrefslogtreecommitdiffstats
path: root/base/gfx/platform_device_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/gfx/platform_device_mac.cc')
-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)) {