summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-27 01:04:30 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-27 01:04:30 +0000
commit5a3432f63636a3d05d73da60c54e83d2c77b57a3 (patch)
treef519dd2a175a772f00e4fabb134910b87cad0759 /skia/ext
parentcface30172ca9165d8754cfd59d48dfd2364635e (diff)
downloadchromium_src-5a3432f63636a3d05d73da60c54e83d2c77b57a3.zip
chromium_src-5a3432f63636a3d05d73da60c54e83d2c77b57a3.tar.gz
chromium_src-5a3432f63636a3d05d73da60c54e83d2c77b57a3.tar.bz2
Fixed build error for skia/ext/canvas_paint_x.h
There is no conversion from Double in Skia. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/8038033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/canvas_paint_x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/canvas_paint_x.h b/skia/ext/canvas_paint_x.h
index 9868327..a9f51d2 100644
--- a/skia/ext/canvas_paint_x.h
+++ b/skia/ext/canvas_paint_x.h
@@ -88,7 +88,7 @@ class CanvasPaintT : public T {
// Need to translate so that the dirty region appears at the origin of the
// surface.
- T::translate(-SkIntToScalar(region_->x), -SkIntToScalar(region_->y));
+ T::translate(-SkDoubleToScalar(region_->x), -SkDoubleToScalar(region_->y));
context_ = BeginPlatformPaint(this);
}