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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/ClipList.h

Issue 2387093002: Reflow comments in canvas-related folders (Closed)
Patch Set: More fix 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ClipList_h 5 #ifndef ClipList_h
6 #define ClipList_h 6 #define ClipList_h
7 7
8 #include "platform/graphics/GraphicsTypes.h" 8 #include "platform/graphics/GraphicsTypes.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
(...skipping 19 matching lines...) Expand all
30 30
31 private: 31 private:
32 struct ClipOp { 32 struct ClipOp {
33 SkPath m_path; 33 SkPath m_path;
34 AntiAliasingMode m_antiAliasingMode; 34 AntiAliasingMode m_antiAliasingMode;
35 35
36 ClipOp(); 36 ClipOp();
37 ClipOp(const ClipOp&); 37 ClipOp(const ClipOp&);
38 }; 38 };
39 39
40 // Number of clip ops that can be stored in a ClipList without resorting to dy namic allocation 40 // Number of clip ops that can be stored in a ClipList without resorting to
41 // dynamic allocation
41 static const size_t cInlineClipOpCapacity = 4; 42 static const size_t cInlineClipOpCapacity = 4;
42 43
43 WTF::Vector<ClipOp, cInlineClipOpCapacity> m_clipList; 44 WTF::Vector<ClipOp, cInlineClipOpCapacity> m_clipList;
44 SkPath m_currentClipPath; 45 SkPath m_currentClipPath;
45 }; 46 };
46 47
47 } // namespace blink 48 } // namespace blink
48 49
49 #endif 50 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698