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: skia/public/interfaces/bitmap.mojom

Issue 2014013002: Add SkBitmap StructTraits for skia::mojo::Bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix empty image handling; avoid resetting info. Created 4 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
Index: skia/public/interfaces/bitmap.mojom
diff --git a/skia/public/interfaces/bitmap.mojom b/skia/public/interfaces/bitmap.mojom
index 340e3f3d8c7eddb7662c17509eb78e83243a92a3..cb08531b502901c0630c578281cdb8aae86c5f27 100644
--- a/skia/public/interfaces/bitmap.mojom
+++ b/skia/public/interfaces/bitmap.mojom
@@ -39,5 +39,5 @@ struct Bitmap {
uint32 width;
uint32 height;
- array<uint8> pixel_data;
+ array<uint8>? pixel_data;
};

Powered by Google App Engine
This is Rietveld 408576698