Skip to content

Commit

Permalink
Bug 1163449 - Remove OOM check when creating new nsFontFaceLoader. r=…
Browse files Browse the repository at this point in the history
…jdaggett
  • Loading branch information
heycam committed May 11, 2015
1 parent 0b7bd6e commit 1116ee2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions layout/style/FontFaceSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,6 @@ FontFaceSet::StartLoad(gfxUserFontEntry* aUserFontEntry,
nsRefPtr<nsFontFaceLoader> fontLoader =
new nsFontFaceLoader(aUserFontEntry, aFontFaceSrc->mURI, this, channel);

if (!fontLoader)
return NS_ERROR_OUT_OF_MEMORY;

#ifdef PR_LOGGING
if (LOG_ENABLED()) {
nsAutoCString fontURI, referrerURI;
Expand Down

0 comments on commit 1116ee2

Please sign in to comment.