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

Unified Diff: cc/trees/layer_tree_host_unittest_context.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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_pixeltest_tiles.cc ('k') | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index 3a2187e93a4c8cbe4faf3cbb61d3c8e3fcd75a5a..7502f07c762128cc4a4ce6ef5c1ac2f23eccfd94 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -609,7 +609,7 @@ class LayerTreeHostContextTestLostContextSucceedsWithContent
root_->SetIsDrawable(true);
// Paint non-solid color.
- SkPaint paint;
+ CdlPaint paint;
paint.setColor(SkColorSetARGB(100, 80, 200, 200));
client_.add_draw_rect(gfx::Rect(5, 5), paint);
@@ -688,7 +688,7 @@ class LayerTreeHostContextTestLostContextAndEvictTextures
void SetupTree() override {
// Paint non-solid color.
- SkPaint paint;
+ CdlPaint paint;
paint.setColor(SkColorSetARGB(100, 80, 200, 200));
client_.add_draw_rect(gfx::Rect(5, 5), paint);
@@ -1602,7 +1602,7 @@ class LayerTreeHostContextTestLoseWorkerContextDuringPrepareTiles
: public LayerTreeTest {
protected:
void SetupTree() override {
- SkPaint paint;
+ CdlPaint paint;
client_.set_fill_with_nonsolid_color(true);
client_.add_draw_rect(gfx::Rect(5, 5), paint);
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_tiles.cc ('k') | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698