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

Unified Diff: mojo/services/public/interfaces/surfaces/quads.mojom

Issue 489213002: Mark optional mojo quads fields as nullable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/interfaces/surfaces/quads.mojom
diff --git a/mojo/services/public/interfaces/surfaces/quads.mojom b/mojo/services/public/interfaces/surfaces/quads.mojom
index 6c2eb6440d8a48e9d05e5bcbde9a72b979e91bdf..be4a90548b8fe615f8dbabee7cd5680e4842a3ca 100644
--- a/mojo/services/public/interfaces/surfaces/quads.mojom
+++ b/mojo/services/public/interfaces/surfaces/quads.mojom
@@ -83,16 +83,16 @@ struct Quad {
int32 shared_quad_state_index;
// Only one of the following will be set, depending on the material.
- CheckerboardQuadState checkerboard_quad_state;
- DebugBorderQuadState debug_border_quad_state;
- IoSurfaceContentQuadState io_surface_quad_state;
- RenderPassQuadState render_pass_quad_state;
- SolidColorQuadState solid_color_quad_state;
- SurfaceQuadState surface_quad_state;
- TextureQuadState texture_quad_state;
- TiledContentQuadState tiled_content_quad_state;
- StreamVideoQuadState stream_video_quad_state;
- YUVVideoQuadState yuv_video_quad_state;
+ CheckerboardQuadState? checkerboard_quad_state;
+ DebugBorderQuadState? debug_border_quad_state;
+ IoSurfaceContentQuadState? io_surface_quad_state;
+ RenderPassQuadState? render_pass_quad_state;
+ SolidColorQuadState? solid_color_quad_state;
+ SurfaceQuadState? surface_quad_state;
+ TextureQuadState? texture_quad_state;
+ TiledContentQuadState? tiled_content_quad_state;
+ StreamVideoQuadState? stream_video_quad_state;
+ YUVVideoQuadState? yuv_video_quad_state;
};
enum SkXfermode {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698