OLD | NEW |
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 5000 Arlington Center Boulevard | 65 5000 Arlington Center Boulevard |
66 Columbus, Ohio 43220 | 66 Columbus, Ohio 43220 |
67 U. S. A. | 67 U. S. A. |
68 | 68 |
69 CompuServe Incorporated maintains a mailing list with all those individuals and | 69 CompuServe Incorporated maintains a mailing list with all those individuals and |
70 organizations who wish to receive copies of this document when it is corrected | 70 organizations who wish to receive copies of this document when it is corrected |
71 or revised. This service is offered free of charge; please provide us with your | 71 or revised. This service is offered free of charge; please provide us with your |
72 mailing address. | 72 mailing address. |
73 */ | 73 */ |
74 | 74 |
75 #include "sky/engine/config.h" | |
76 #include "platform/image-decoders/gif/GIFImageReader.h" | 75 #include "platform/image-decoders/gif/GIFImageReader.h" |
77 | 76 |
78 #include <string.h> | 77 #include <string.h> |
79 #include "sky/engine/platform/graphics/ImageSource.h" | 78 #include "sky/engine/platform/graphics/ImageSource.h" |
80 | 79 |
81 namespace blink { | 80 namespace blink { |
82 | 81 |
83 using blink::GIFImageDecoder; | 82 using blink::GIFImageDecoder; |
84 | 83 |
85 // GETN(n, s) requests at least 'n' bytes available from 'q', at start of state
's'. | 84 // GETN(n, s) requests at least 'n' bytes available from 'q', at start of state
's'. |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 794 |
796 // Clearing the whole suffix table lets us be more tolerant of bad data. | 795 // Clearing the whole suffix table lets us be more tolerant of bad data. |
797 for (int i = 0; i < clearCode; ++i) { | 796 for (int i = 0; i < clearCode; ++i) { |
798 suffix[i] = i; | 797 suffix[i] = i; |
799 suffixLength[i] = 1; | 798 suffixLength[i] = 1; |
800 } | 799 } |
801 return true; | 800 return true; |
802 } | 801 } |
803 | 802 |
804 } // namespace blink | 803 } // namespace blink |
OLD | NEW |