/* vim:set sw=2 sts=2 et cin: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// If the last call failed, it was probably because our call stack originates // in an imgINotificationObserver event, meaning that we're not allowed // request a sync decode. Presumably the originating event is something // sensible like OnStopFrame(), so we can just retry the call without a sync // decode. if (!surface) { if (aOverrideSize) {
surface =
aImage->GetFrameAtSize(*aOverrideSize, imgIContainer::FRAME_CURRENT,
imgIContainer::FLAG_NONE);
} else {
surface = aImage->GetFrame(imgIContainer::FRAME_CURRENT,
imgIContainer::FLAG_NONE);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.