Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C; tab-width: 4; 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 void setTablePositionAndSize(size_t position, size_t colors) 164 void setTablePositionAndSize(size_t position, size_t colors)
165 { 165 {
166 m_position = position; 166 m_position = position;
167 m_colors = colors; 167 m_colors = colors;
168 } 168 }
169 void setDefined() { m_isDefined = true; } 169 void setDefined() { m_isDefined = true; }
170 bool isDefined() const { return m_isDefined; } 170 bool isDefined() const { return m_isDefined; }
171 171
172 // Build RGBA table using the data stream. 172 // Build RGBA table using the data stream.
173 void buildTable(blink::FastSharedBufferReader*); 173 void buildTable(blink::FastSharedBufferReader*);
174 const Table& table() const { return m_table; } 174 const Table& getTable() const { return m_table; }
175 175
176 private: 176 private:
177 bool m_isDefined; 177 bool m_isDefined;
178 size_t m_position; 178 size_t m_position;
179 size_t m_colors; 179 size_t m_colors;
180 Table m_table; 180 Table m_table;
181 }; 181 };
182 182
183 // LocalFrame output state machine. 183 // LocalFrame output state machine.
184 struct GIFFrameContext { 184 struct GIFFrameContext {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 GIFColorMap m_globalColorMap; 354 GIFColorMap m_globalColorMap;
355 int m_loopCount; // Netscape specific extension block to control the number of animation loops a GIF renders. 355 int m_loopCount; // Netscape specific extension block to control the number of animation loops a GIF renders.
356 356
357 Vector<OwnPtr<GIFFrameContext>> m_frames; 357 Vector<OwnPtr<GIFFrameContext>> m_frames;
358 358
359 RefPtr<blink::SharedBuffer> m_data; 359 RefPtr<blink::SharedBuffer> m_data;
360 bool m_parseCompleted; 360 bool m_parseCompleted;
361 }; 361 };
362 362
363 #endif 363 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698