Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3595)

Unified Diff: cc/trees/layer_tree_host_unittest_delegated.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host_unittest_delegated.cc
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc
index f5aafaf2efce4d9648618510a882cd90e9b80e6e..5962fa37b58360d9981ef5167c22eff41943711a 100644
--- a/cc/trees/layer_tree_host_unittest_delegated.cc
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc
@@ -612,7 +612,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage
// Make another layer that uses the same frame provider. The new layer
// should be damaged.
delegated_copy_ = CreateDelegatedLayer(frame_provider_.get());
- delegated_copy_->SetPosition(gfx::Point(5, 0));
+ delegated_copy_->SetPosition(gfx::PointF(5.f, 0.f));
// Also set a new frame.
SetFrameData(

Powered by Google App Engine
This is Rietveld 408576698