Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett

This commit is contained in:
Cameron McCormack 2015-05-11 11:24:49 +10:00
parent 85c47fe249
commit 10b1503e9e
2 changed files with 4 additions and 0 deletions

View File

@ -39,7 +39,10 @@ private:
void
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 = nullptr;
}
// -- Utility functions ------------------------------------------------------

View File

@ -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
load 1153693-1.html
load 1161366-1.html
load 1163446-1.html
load large_border_image_width.html
load border-image-visited-link.html