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

Unified Diff: cc/trees/layer_tree_host_pixeltest_readback.cc

Issue 22796028: Updating Chromium to Skia SkBaseDevice/SkBitmapDevice split (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor cleanup Created 7 years, 4 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_pixeltest_readback.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_readback.cc b/cc/trees/layer_tree_host_pixeltest_readback.cc
index a9bc6ceff1b6f04bfe9a03772ad2faf82f27dd27..1c8380b258db845d426d80a2c50054a13b9a49aa 100644
--- a/cc/trees/layer_tree_host_pixeltest_readback.cc
+++ b/cc/trees/layer_tree_host_pixeltest_readback.cc
@@ -852,7 +852,7 @@ TEST_F(LayerTreeHostReadbackPixelTest,
bitmap.allocPixels();
bitmap.eraseColor(SK_ColorGREEN);
{
- SkDevice device(bitmap);
+ SkBitmapDevice device(bitmap);
skia::RefPtr<SkCanvas> canvas = skia::AdoptRef(new SkCanvas(&device));
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);

Powered by Google App Engine
This is Rietveld 408576698