mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 513681 - part 11 - make RasterImage carry a pointer to a Decoder.r=joe,a=blocker
This commit is contained in:
parent
75475d09cf
commit
7e1ef2dc6d
@ -143,6 +143,7 @@ namespace mozilla {
|
||||
namespace imagelib {
|
||||
|
||||
class imgDecodeWorker;
|
||||
class Decoder;
|
||||
|
||||
class RasterImage : public mozilla::imagelib::Image,
|
||||
public nsITimerCallback,
|
||||
@ -458,7 +459,7 @@ private: // data
|
||||
friend class DiscardTracker;
|
||||
|
||||
// Decoder and friends
|
||||
nsCOMPtr<imgIDecoder> mDecoder;
|
||||
nsRefPtr<Decoder> mDecoder;
|
||||
nsRefPtr<imgDecodeWorker> mWorker;
|
||||
PRUint32 mBytesDecoded;
|
||||
PRUint32 mDecoderFlags;
|
||||
|
Loading…
x
Reference in New Issue
Block a user