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

Unified Diff: skia/public/interfaces/bitmap_skbitmap_struct_traits.h

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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_skbitmap_struct_traits.h
diff --git a/skia/public/interfaces/bitmap_skbitmap_struct_traits.h b/skia/public/interfaces/bitmap_skbitmap_struct_traits.h
index 91a51ff266f8de708a430dce524631a19c7a8982..4e05184778734dbaff2903a35af1ea4f18101bf4 100644
--- a/skia/public/interfaces/bitmap_skbitmap_struct_traits.h
+++ b/skia/public/interfaces/bitmap_skbitmap_struct_traits.h
@@ -16,7 +16,7 @@ using BitmapBuffer = CArray<uint8_t>;
// Struct traits to use SkBitmap for skia::mojom::Bitmap in Chrome C++ code.
template <>
-struct StructTraits<skia::mojom::Bitmap, SkBitmap> {
+struct StructTraits<skia::mojom::BitmapDataView, SkBitmap> {
static bool IsNull(const SkBitmap& b);
static void SetToNull(SkBitmap* b);
static skia::mojom::ColorType color_type(const SkBitmap& b);
« no previous file with comments | « skia/public/interfaces/bitmap_array_struct_traits.h ('k') | skia/public/interfaces/bitmap_skbitmap_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698