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

Unified Diff: cc/trees/layer_tree_host_pixeltest_synchronous.cc

Issue 1314943008: cc: Remove implicit conversions from Rect to RectF in src/cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rectfconvert-cc: rebase-and-sandwich-strategy 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
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_pixeltest_synchronous.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_synchronous.cc b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
index f61703f7cf605c88fed0c368ab847fea442e4da8..1eb32ba6440c51873f46c65de2c1b8c1da946c47 100644
--- a/cc/trees/layer_tree_host_pixeltest_synchronous.cc
+++ b/cc/trees/layer_tree_host_pixeltest_synchronous.cc
@@ -36,7 +36,7 @@ TEST_F(LayerTreeHostSynchronousPixelTest, OneContentLayer) {
FakeContentLayerClient client;
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
- client.add_draw_rect(gfx::RectF(bounds), green_paint);
+ client.add_draw_rect(gfx::Rect(bounds), green_paint);
scoped_refptr<PictureLayer> root =
PictureLayer::Create(layer_settings(), &client);
root->SetBounds(bounds);
@@ -67,7 +67,7 @@ TEST_F(LayerTreeHostSynchronousGPUPixelTest, OneContentLayer) {
FakeContentLayerClient client;
SkPaint green_paint;
green_paint.setColor(SkColorSetARGB(255, 0, 255, 0));
- client.add_draw_rect(gfx::RectF(bounds), green_paint);
+ client.add_draw_rect(gfx::Rect(bounds), green_paint);
scoped_refptr<PictureLayer> root =
PictureLayer::Create(layer_settings(), &client);
root->SetBounds(bounds);
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698