mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett
This commit is contained in:
parent
fcead49a6a
commit
a4bf7a1f1b
@ -39,7 +39,10 @@ private:
|
|||||||
void
|
void
|
||||||
FontFaceBufferSource::TakeBuffer(uint8_t*& aBuffer, uint32_t& aLength)
|
FontFaceBufferSource::TakeBuffer(uint8_t*& aBuffer, uint32_t& aLength)
|
||||||
{
|
{
|
||||||
|
MOZ_ASSERT(mFontFace, "only call TakeBuffer once on a given "
|
||||||
|
"FontFaceBufferSource object");
|
||||||
mFontFace->TakeBuffer(aBuffer, aLength);
|
mFontFace->TakeBuffer(aBuffer, aLength);
|
||||||
|
mFontFace = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Utility functions ------------------------------------------------------
|
// -- Utility functions ------------------------------------------------------
|
||||||
|
@ -114,5 +114,6 @@ pref(dom.webcomponents.enabled,true) load 1089463-1.html
|
|||||||
pref(layout.css.expensive-style-struct-assertions.enabled,true) load 1136010-1.html
|
pref(layout.css.expensive-style-struct-assertions.enabled,true) load 1136010-1.html
|
||||||
load 1153693-1.html
|
load 1153693-1.html
|
||||||
load 1161366-1.html
|
load 1161366-1.html
|
||||||
|
load 1163446-1.html
|
||||||
load large_border_image_width.html
|
load large_border_image_width.html
|
||||||
load border-image-visited-link.html
|
load border-image-visited-link.html
|
||||||
|
Loading…
Reference in New Issue
Block a user