Bug 1355183 - Mark WrExternalImageType as repr(u32) instead of repr(C). r=rhunt

On the C++ side the enum extends from uint32_t, like all the other enums across
the WR FFI boundary. So the Rust side they should be repr(u32).

MozReview-Commit-ID: JOf44I154ea
This commit is contained in:
Kartikaya Gupta 2017-04-10 17:38:01 -04:00
Родитель 8c1aeb1cb3
Коммит 48eb1475b5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -440,7 +440,7 @@ impl From<ClipRegion> for WrClipRegion {
}
}
#[repr(C)]
#[repr(u32)]
#[allow(dead_code)]
enum WrExternalImageType {
NativeTexture,