Remove unused param to SkGIFFrameContext ctor
After updating the transparency index code, the reader parameter to SkGIFFrameContext's ctor is no longer needed. This patch removes it. BUG=skia:7069 Change-Id: If129f825639e8d43d73794adca2de09785f56a3c Reviewed-on: https://skia-review.googlesource.com/52602 Commit-Queue: Chris Blume <cblume@chromium.org> Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
This commit is contained in:
parent
9f8d4d36b5
commit
6c08b7bbe4
2
third_party/gif/SkGifImageReader.cpp
vendored
2
third_party/gif/SkGifImageReader.cpp
vendored
@ -858,7 +858,7 @@ void SkGifImageReader::addFrameIfNecessary()
|
||||
{
|
||||
if (m_frames.empty() || m_frames.back()->isComplete()) {
|
||||
const int i = m_frames.count();
|
||||
m_frames.emplace_back(new SkGIFFrameContext(this, i));
|
||||
m_frames.emplace_back(new SkGIFFrameContext(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
2
third_party/gif/SkGifImageReader.h
vendored
2
third_party/gif/SkGifImageReader.h
vendored
@ -196,7 +196,7 @@ class SkGifImageReader;
|
||||
// LocalFrame output state machine.
|
||||
class SkGIFFrameContext : public SkFrame {
|
||||
public:
|
||||
SkGIFFrameContext(SkGifImageReader* reader, int id)
|
||||
SkGIFFrameContext(int id)
|
||||
: INHERITED(id)
|
||||
, m_transparentPixel(SkGIFColorMap::kNotFound)
|
||||
, m_dataSize(0)
|
||||
|
Loading…
Reference in New Issue
Block a user