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

Unified Diff: cc/test/skia_common.cc

Issue 2888603002: Replace uses of legacy SkImageGenerator API (Closed)
Patch Set: Use ternary Created 3 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 | « no previous file | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/skia_common.cc
diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
index 5c907d0273b89c811922bac1b90bc9360238f6a0..6bc0e52fa6f69462f87e710ef87214f046e91e71 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -29,8 +29,7 @@ class TestImageGenerator : public SkImageGenerator {
bool onGetPixels(const SkImageInfo& info,
void* pixels,
size_t rowBytes,
- SkPMColor ctable[],
- int* ctableCount) override {
+ const Options&) override {
return image_pixmap_.readPixels(info, pixels, rowBytes, 0, 0);
}
« no previous file with comments | « no previous file | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698