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

Unified Diff: cc/trees/layer_tree_host_unittest_context.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 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_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index 3a2187e93a4c8cbe4faf3cbb61d3c8e3fcd75a5a..525e0e9488ee74e875882fd70ac6a0bb73e66909 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -15,6 +15,7 @@
#include "cc/layers/video_layer.h"
#include "cc/layers/video_layer_impl.h"
#include "cc/output/filter_operations.h"
+#include "cc/paint/paint_flags.h"
#include "cc/resources/single_release_callback.h"
#include "cc/resources/ui_resource_manager.h"
#include "cc/test/fake_content_layer_client.h"
@@ -609,7 +610,7 @@ class LayerTreeHostContextTestLostContextSucceedsWithContent
root_->SetIsDrawable(true);
// Paint non-solid color.
- SkPaint paint;
+ PaintFlags paint;
paint.setColor(SkColorSetARGB(100, 80, 200, 200));
client_.add_draw_rect(gfx::Rect(5, 5), paint);
@@ -688,7 +689,7 @@ class LayerTreeHostContextTestLostContextAndEvictTextures
void SetupTree() override {
// Paint non-solid color.
- SkPaint paint;
+ PaintFlags paint;
paint.setColor(SkColorSetARGB(100, 80, 200, 200));
client_.add_draw_rect(gfx::Rect(5, 5), paint);
@@ -1602,7 +1603,7 @@ class LayerTreeHostContextTestLoseWorkerContextDuringPrepareTiles
: public LayerTreeTest {
protected:
void SetupTree() override {
- SkPaint paint;
+ PaintFlags paint;
client_.set_fill_with_nonsolid_color(true);
client_.add_draw_rect(gfx::Rect(5, 5), paint);

Powered by Google App Engine
This is Rietveld 408576698