Bug 1339661. Declare WrBoxShadowClipMode a uint32_t. r=me
authorMason Chang <mchang@mozilla.com>
Fri, 17 Feb 2017 09:08:59 -0800
changeset 373016 c990f3d0225e2f8bedce9d8e7df0c3047dc7bb50
parent 373015 25b6a4c5bad733ecc55dba7b173976d49c93313d
child 373017 6489e07b82659f9a0b8924b7347ea7858a304628
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1339661
milestone54.0a1
Bug 1339661. Declare WrBoxShadowClipMode a uint32_t. r=me
gfx/webrender_bindings/webrender_ffi.h
--- a/gfx/webrender_bindings/webrender_ffi.h
+++ b/gfx/webrender_bindings/webrender_ffi.h
@@ -64,17 +64,17 @@ WR_DECL_FFI_2(WrFontKey, uint32_t, uint3
 
 bool is_in_compositor_thread();
 bool is_in_render_thread();
 void* get_proc_address_from_glcontext(void* glcontext_ptr, const char* procname);
 
 // -----
 // Enums used in C++ code with corresponding enums in Rust code
 // -----
-enum class WrBoxShadowClipMode {
+enum class WrBoxShadowClipMode: uint32_t {
   None,
   Outset,
   Inset,
 
   Sentinel /* this must be last, for IPC serialization purposes */
 };
 
 enum class WrImageFormat: uint32_t