aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPicture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPicture.cpp')
-rw-r--r--src/core/SkPicture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index af1cd60cbf..4405094314 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -186,7 +186,7 @@ SkCanvas* SkPicture::beginRecording(int width, int height,
}
if (recordingFlags & kOptimizeForClippedPlayback_RecordingFlag) {
- SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(width),
+ SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(width),
SkIntToScalar(height));
SkRTree* tree = SkRTree::Create(6, 11, aspectRatio);
SkASSERT(NULL != tree);