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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index 36f8052f80c3f755c37efcccfb7065e45332b213..9a6f470e79eb125744e208367052856b8bf8cde2 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -71,18 +71,6 @@ namespace {
EXPECT_FALSE(active_layer()->expression); \
} while (false)
-class MockCanvas : public SkCanvas {
- public:
- explicit MockCanvas(int w, int h) : SkCanvas(w, h) {}
-
- void onDrawRect(const SkRect& rect, const SkPaint& paint) override {
- // Capture calls before SkCanvas quickReject() kicks in.
- rects_.push_back(rect);
- }
-
- std::vector<SkRect> rects_;
-};
-
class PictureLayerImplTest : public TestLayerTreeHostBase {
public:
void SetUp() override {
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698