| Index: src/images/SkMovie_gif.cpp
|
| diff --git a/src/images/SkMovie_gif.cpp b/src/images/SkMovie_gif.cpp
|
| index 3810db566275feb7ed777f02a7e028055d9a8f4f..89c4152c428bad28df9fbe8be17cdf51e067a275 100644
|
| --- a/src/images/SkMovie_gif.cpp
|
| +++ b/src/images/SkMovie_gif.cpp
|
| @@ -6,8 +6,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -
|
| -#include "SkMovie.h"
|
| +#include "SkMovie_gif.h"
|
| #include "SkColor.h"
|
| #include "SkColorPriv.h"
|
| #include "SkStream.h"
|
| @@ -426,11 +425,7 @@ bool SkGIFMovie::onGetBitmap(SkBitmap* bm)
|
| return true;
|
| }
|
|
|
| -///////////////////////////////////////////////////////////////////////////////
|
| -
|
| -#include "SkTRegistry.h"
|
| -
|
| -SkMovie* Factory(SkStreamRewindable* stream) {
|
| +SkMovie* SkGIFMovieCreate(SkStreamRewindable* stream) {
|
| char buf[GIF_STAMP_LEN];
|
| if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) {
|
| if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 ||
|
| @@ -444,4 +439,3 @@ SkMovie* Factory(SkStreamRewindable* stream) {
|
| return NULL;
|
| }
|
|
|
| -static SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> gReg(Factory);
|
|
|