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

Unified Diff: cc/blimp/layer_tree_host_unittest_serialization.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/blimp/engine_picture_cache.h ('k') | cc/blink/scrollbar_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_unittest_serialization.cc
diff --git a/cc/blimp/layer_tree_host_unittest_serialization.cc b/cc/blimp/layer_tree_host_unittest_serialization.cc
index 2a3c82efb80648ef1d5a422f8f05540e05f7d355..c735b5fda76e019a26a5bd7a85937c8dcc69a2c2 100644
--- a/cc/blimp/layer_tree_host_unittest_serialization.cc
+++ b/cc/blimp/layer_tree_host_unittest_serialization.cc
@@ -24,6 +24,7 @@
#include "cc/trees/layer_tree.h"
#include "cc/trees/layer_tree_host_common.h"
#include "cc/trees/layer_tree_settings.h"
+#include "skia/ext/cdl_paint.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
@@ -366,7 +367,7 @@ TEST_F(LayerTreeHostSerializationTest, PictureLayerSerialization) {
FakeContentLayerClient content_client;
gfx::Size bounds(256, 256);
content_client.set_bounds(bounds);
- SkPaint simple_paint;
+ CdlPaint simple_paint;
simple_paint.setColor(SkColorSetARGB(255, 12, 23, 34));
content_client.add_draw_rect(gfx::Rect(bounds), simple_paint);
scoped_refptr<FakePictureLayer> picture_layer_src =
@@ -382,7 +383,7 @@ TEST_F(LayerTreeHostSerializationTest, PictureLayerSerialization) {
// Another round.
picture_layer_src->SetNeedsDisplay();
- SkPaint new_paint;
+ CdlPaint new_paint;
new_paint.setColor(SkColorSetARGB(255, 12, 32, 44));
content_client.add_draw_rect(gfx::Rect(bounds), new_paint);
VerifySerializationAndDeserialization();
« no previous file with comments | « cc/blimp/engine_picture_cache.h ('k') | cc/blink/scrollbar_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698