aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-29 17:35:07 +0000
committerGravatar rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-29 17:35:07 +0000
commitb947b91794f47cc92b17c83e570536f5e315a118 (patch)
tree0f4cb8a173da507261306d2600e8212d6089b56b /tools
parent4af0af612f8cfb6951feb10ffe3091821866bd44 (diff)
Fix uninitialized values in bench_pictures' tiled renderer.
Review URL: https://codereview.appspot.com/6506049 git-svn-id: http://skia.googlecode.com/svn/trunk@5333 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r--tools/PictureRenderer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp
index b162abc340..b7958e2d2e 100644
--- a/tools/PictureRenderer.cpp
+++ b/tools/PictureRenderer.cpp
@@ -157,7 +157,10 @@ void SimplePictureRenderer::render() {
TiledPictureRenderer::TiledPictureRenderer()
: fTileWidth(kDefaultTileWidth)
- , fTileHeight(kDefaultTileHeight) {}
+ , fTileHeight(kDefaultTileHeight)
+ , fTileMinPowerOf2Width(0)
+ , fTileHeightPercentage(0.0)
+ , fTileWidthPercentage(0.0) {}
void TiledPictureRenderer::init(SkPicture* pict) {
SkASSERT(pict != NULL);