| OLD | NEW | 
|---|
| 1 |  | 
| 2 /* | 1 /* | 
| 3  * Copyright 2006 The Android Open Source Project | 2  * Copyright 2006 The Android Open Source Project | 
| 4  * | 3  * | 
| 5  * Use of this source code is governed by a BSD-style license that can be | 4  * Use of this source code is governed by a BSD-style license that can be | 
| 6  * found in the LICENSE file. | 5  * found in the LICENSE file. | 
| 7  */ | 6  */ | 
| 8 | 7 | 
| 9 | 8 | 
| 10 #include "SkMovie.h" | 9 #include "SkMovie.h" | 
| 11 #include "SkColor.h" | 10 #include "SkColor.h" | 
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 443                 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) { | 442                 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) { | 
| 444             // must rewind here, since our construct wants to re-read the data | 443             // must rewind here, since our construct wants to re-read the data | 
| 445             stream->rewind(); | 444             stream->rewind(); | 
| 446             return new SkGIFMovie(stream); | 445             return new SkGIFMovie(stream); | 
| 447         } | 446         } | 
| 448     } | 447     } | 
| 449     return nullptr; | 448     return nullptr; | 
| 450 } | 449 } | 
| 451 | 450 | 
| 452 static SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> gReg(Factory); | 451 static SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> gReg(Factory); | 
| OLD | NEW | 
|---|