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

Unified Diff: sky/compositor/display_delegate_bitmap.cc

Issue 836363003: Make a reftest for the flights app. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/HACKING.md ('k') | sky/tests/framework/flights-app-pixels.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/compositor/display_delegate_bitmap.cc
diff --git a/sky/compositor/display_delegate_bitmap.cc b/sky/compositor/display_delegate_bitmap.cc
index 571eda1f5360f3e754a64fbabf1dafe51dbce0e3..c8ba5537846fc3ebd1e2b666a61cb062166ba2a4 100644
--- a/sky/compositor/display_delegate_bitmap.cc
+++ b/sky/compositor/display_delegate_bitmap.cc
@@ -22,7 +22,7 @@ DisplayDelegate* DisplayDelegateBitmap::create(LayerClient* client) {
}
void DisplayDelegateBitmap::GetPixelsForTesting(std::vector<unsigned char>* pixels) {
- gfx::PNGCodec::EncodeBGRASkBitmap(bitmap_, false, pixels);
+ gfx::PNGCodec::EncodeBGRASkBitmap(bitmap_, true, pixels);
}
void DisplayDelegateBitmap::Paint(mojo::GaneshSurface& surface, const gfx::Rect& size) {
« no previous file with comments | « sky/HACKING.md ('k') | sky/tests/framework/flights-app-pixels.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698