diff options
author | 2014-02-13 18:36:36 +0000 | |
---|---|---|
committer | 2014-02-13 18:36:36 +0000 | |
commit | 35d4872f9a4d49395dd387677eb828ce0e8176bf (patch) | |
tree | fa5055f4589c52e19c54f9c2cda8b03673e1e38d /gm/shadertext2.cpp | |
parent | ca21a00c736d05686c84ab874ce6a49008da6a76 (diff) |
Gyp flag to disable inlining.
To turn off all inlining, rebuild after running the command
$ GYP_DEFINES=skia_disable_inlining=1 ./gyp_skia
Provides an initial value in one GM to avoid an uninitialized variable warning.
BUG=skia:2126
R=scroggo@google.com, mtklein@google.com, tomhudson@google.com
Author: tomhudson@chromium.org
Review URL: https://codereview.chromium.org/163363004
git-svn-id: http://skia.googlecode.com/svn/trunk@13437 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/shadertext2.cpp')
-rw-r--r-- | gm/shadertext2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/shadertext2.cpp b/gm/shadertext2.cpp index e8a4c6dac1..dcff3c69bd 100644 --- a/gm/shadertext2.cpp +++ b/gm/shadertext2.cpp @@ -149,7 +149,7 @@ protected: for (int s = 0; s < 2; ++s) { SkPaint& paint = s ? strokePaint : fillPaint; - SkScalar columnH; + SkScalar columnH = 0; for (int m = 0; m < matrices.count(); ++m) { columnH = 0; canvas->save(); |