summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 18:21:48 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 18:21:48 +0000
commitb03394f2e529a5789e0907b7453f7f6067290919 (patch)
tree90eb9909eb73a8de7ea29e1172c755fb348e5de1 /skia
parenta6ef250fd9420da3d90f203a71e655eafb45016a (diff)
downloadchromium_src-b03394f2e529a5789e0907b7453f7f6067290919.zip
chromium_src-b03394f2e529a5789e0907b7453f7f6067290919.tar.gz
chromium_src-b03394f2e529a5789e0907b7453f7f6067290919.tar.bz2
Re-apply fix from r1209 that was clobbered in r6925.
Review URL: http://codereview.chromium.org/20426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/corecg/SkInterpolator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/corecg/SkInterpolator.cpp b/skia/corecg/SkInterpolator.cpp
index e4ecd95..ebd3817 100644
--- a/skia/corecg/SkInterpolator.cpp
+++ b/skia/corecg/SkInterpolator.cpp
@@ -80,7 +80,7 @@ SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T,
SkASSERT(fFrameCount > 0);
Result result = kNormal_Result;
if (fRepeat != SK_Scalar1) {
- SkMSec startTime, endTime;
+ SkMSec startTime = 0, endTime = 0;
this->getDuration(&startTime, &endTime);
SkMSec totalTime = endTime - startTime;
SkMSec offsetTime = time - startTime;