Bug 1725145 - Explicit instantiate templates r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D123454
This commit is contained in:
Andi-Bogdan Postelnicu 2021-08-25 10:46:16 +00:00
Родитель eeb2d05d90
Коммит 1add60ee56
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -109,6 +109,12 @@ void omta_deregister_sampler(mozilla::wr::WrWindowId aWindowId);
#pragma pop_macro("TRANSPARENT")
template struct mozilla::wr::Point2D<int32_t, mozilla::wr::DevicePixel>;
template struct mozilla::wr::Point2D<int, mozilla::wr::WorldPixel>;
template struct mozilla::wr::Point2D<float, mozilla::wr::WorldPixel>;
template struct mozilla::wr::Box2D<int32_t, mozilla::wr::DevicePixel>;
template struct mozilla::wr::Box2D<int, mozilla::wr::LayoutPixel>;
// More functions invoked from Rust code. These are down here because they
// refer to data structures from webrender_ffi_generated.h
extern "C" {