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

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

Issue 2387263004: Manually remove many instances of a comma quirk arising from the reformat. (Closed)
Patch Set: merge with master; thakis nit Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 }; 279 };
280 280
281 class PLATFORM_EXPORT GIFImageReader final { 281 class PLATFORM_EXPORT GIFImageReader final {
282 USING_FAST_MALLOC(GIFImageReader); 282 USING_FAST_MALLOC(GIFImageReader);
283 WTF_MAKE_NONCOPYABLE(GIFImageReader); 283 WTF_MAKE_NONCOPYABLE(GIFImageReader);
284 284
285 public: 285 public:
286 GIFImageReader(blink::GIFImageDecoder* client = 0) 286 GIFImageReader(blink::GIFImageDecoder* client = 0)
287 : m_client(client), 287 : m_client(client),
288 m_state(GIFType), 288 m_state(GIFType),
289 m_bytesToConsume( 289 // Number of bytes for GIF type, either "GIF87a" or "GIF89a".
290 6) // Number of bytes for GIF type, either "GIF87a" or "GIF89a". 290 m_bytesToConsume(6),
291 ,
292 m_bytesRead(0), 291 m_bytesRead(0),
293 m_version(0), 292 m_version(0),
294 m_screenWidth(0), 293 m_screenWidth(0),
295 m_screenHeight(0), 294 m_screenHeight(0),
296 m_sentSizeToClient(false), 295 m_sentSizeToClient(false),
297 m_loopCount(cLoopCountNotSeen), 296 m_loopCount(cLoopCountNotSeen),
298 m_parseCompleted(false) {} 297 m_parseCompleted(false) {}
299 298
300 ~GIFImageReader() {} 299 ~GIFImageReader() {}
301 300
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 int m_loopCount; // Netscape specific extension block to control the number 354 int m_loopCount; // Netscape specific extension block to control the number
356 // of animation loops a GIF renders. 355 // of animation loops a GIF renders.
357 356
358 Vector<std::unique_ptr<GIFFrameContext>> m_frames; 357 Vector<std::unique_ptr<GIFFrameContext>> m_frames;
359 358
360 RefPtr<blink::SegmentReader> m_data; 359 RefPtr<blink::SegmentReader> m_data;
361 bool m_parseCompleted; 360 bool m_parseCompleted;
362 }; 361 };
363 362
364 #endif 363 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698