summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 03:25:05 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 03:25:05 +0000
commit6138db702aa3c08703b2952b5aaa1ba7533a3813 (patch)
tree003d2b10f8a20ef82911b63d060084997ef958a7 /webkit
parent63f8b5a1835d589ba335006749b04d1aa2340bd7 (diff)
downloadchromium_src-6138db702aa3c08703b2952b5aaa1ba7533a3813.zip
chromium_src-6138db702aa3c08703b2952b5aaa1ba7533a3813.tar.gz
chromium_src-6138db702aa3c08703b2952b5aaa1ba7533a3813.tar.bz2
Fix compilation and ui_unittests with float transforms
This change also cleans up the use of gfx::Transform::get/setDouble (in favor of get/set) at callsites to prepare for changing SkMScalar from double to float. BUG=269817 Originally Committed/Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=224725 Review URL: https://chromiumcodereview.appspot.com/23811009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc b/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
index 02a2ac3..dc0b434 100644
--- a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
+++ b/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
@@ -184,7 +184,7 @@ TEST(WebLayerImplFixedBoundsTest, CompareToWebLayerImplComplex) {
gfx::Transform sublayer_transform;
// These are arbitrary values that should not affect the results.
- sublayer_transform.Scale3d(1.1, 2.2, 3.3);
+ sublayer_transform.Scale3d(1.1f, 2.2f, 3.3f);
sublayer_transform.Translate3d(11, 22, 33);
sublayer_transform.RotateAbout(gfx::Vector3dF(10, 30, 20), 88);