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

Unified Diff: cc/test/test_skcanvas.cc

Issue 2839343002: Revert of Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: Created 3 years, 8 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/test/test_skcanvas.h ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_skcanvas.cc
diff --git a/cc/test/test_skcanvas.cc b/cc/test/test_skcanvas.cc
deleted file mode 100644
index e45f42de45b109888f2f2c959d9546f58a462414..0000000000000000000000000000000000000000
--- a/cc/test/test_skcanvas.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "cc/test/test_skcanvas.h"
-
-namespace cc {
-
-SaveCountingCanvas::SaveCountingCanvas() : SkNoDrawCanvas(100, 100) {}
-
-SkCanvas::SaveLayerStrategy SaveCountingCanvas::getSaveLayerStrategy(
- const SaveLayerRec& rec) {
- save_count_++;
- return SkNoDrawCanvas::getSaveLayerStrategy(rec);
-}
-
-void SaveCountingCanvas::willRestore() {
- restore_count_++;
-}
-
-void SaveCountingCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) {
- draw_rect_ = rect;
- paint_ = paint;
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/test_skcanvas.h ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698