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

Unified Diff: bench/ImageBench.cpp

Issue 1505333002: SkBitmap::installPixels(const SkPixmap&); (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-12-09 (Wednesday) 13:58:05 EST Created 5 years 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 | « no previous file | gm/image.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ImageBench.cpp
diff --git a/bench/ImageBench.cpp b/bench/ImageBench.cpp
index 0263758da50eea53e49a52b011fe3b06451e5587..40de28121fb5d6695902200bb5518a37cccf3eae 100644
--- a/bench/ImageBench.cpp
+++ b/bench/ImageBench.cpp
@@ -125,7 +125,7 @@ protected:
if (!fImage->peekPixels(&pmap)) {
sk_throw();
}
- fBitmap.installPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes());
+ fBitmap.installPixels(pmap);
}
}
« no previous file with comments | « no previous file | gm/image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698