mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1103328 - Tweak wording of comment for Decoder::PostHasTransparency. r=me DONTBUILD
This commit is contained in:
parent
953bfffba9
commit
0f082bced5
@ -217,11 +217,13 @@ protected:
|
||||
// Called by decoders if they determine that the image has transparency.
|
||||
//
|
||||
// This should be fired as early as possible to allow observers to do things
|
||||
// that affect content, so it's necessarily pessimistic. PostFrameStop's
|
||||
// aFrameAlpha argument, on the other hand, is only used internally to
|
||||
// ImageLib. Because PostFrameStop isn't delivered until the entire frame has
|
||||
// been decoded, decoders may take into account the actual contents of the
|
||||
// frame.
|
||||
// that affect content, so it's necessarily pessimistic - if there's a
|
||||
// possibility that the image has transparency, for example because its header
|
||||
// specifies that it has an alpha channel, we fire PostHasTransparency
|
||||
// immediately. PostFrameStop's aFrameAlpha argument, on the other hand, is
|
||||
// only used internally to ImageLib. Because PostFrameStop isn't delivered
|
||||
// until the entire frame has been decoded, decoders may take into account the
|
||||
// actual contents of the frame and give a more accurate result.
|
||||
void PostHasTransparency();
|
||||
|
||||
// Called by decoders when they begin a frame. Informs the image, sends
|
||||
|
Loading…
Reference in New Issue
Block a user