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

Unified Diff: dm/DMQuiltTask.cpp

Issue 286993005: refactor DM::SetupBitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 | « dm/DMPipeTask.cpp ('k') | dm/DMRecordTask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMQuiltTask.cpp
diff --git a/dm/DMQuiltTask.cpp b/dm/DMQuiltTask.cpp
index e8f8b60a0f7cd37d83915fae5ab0bf53ad727001..f184980c1d870bd9e9f1b5f72979a2cefbaf3c9b 100644
--- a/dm/DMQuiltTask.cpp
+++ b/dm/DMQuiltTask.cpp
@@ -25,7 +25,7 @@ void QuiltTask::draw() {
SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get()));
SkBitmap full;
- SetupBitmap(fReference.colorType(), fGM.get(), &full);
+ AllocatePixels(fReference, &full);
SkCanvas fullCanvas(full);
SkBitmap tile;
« no previous file with comments | « dm/DMPipeTask.cpp ('k') | dm/DMRecordTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698