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

Side by Side Diff: src/animator/SkDrawGroup.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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 | « src/animator/SkDrawGradient.cpp ('k') | src/animator/SkDrawGroup.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawGroup_DEFINED 10 #ifndef SkDrawGroup_DEFINED
(...skipping 20 matching lines...) Expand all
31 virtual void dumpDrawables(SkAnimateMaker* ); 31 virtual void dumpDrawables(SkAnimateMaker* );
32 void dumpEvents() override; 32 void dumpEvents() override;
33 #endif 33 #endif
34 int findGroup(SkADrawable* drawable, SkTDDrawableArray** list, 34 int findGroup(SkADrawable* drawable, SkTDDrawableArray** list,
35 SkGroup** parent, SkGroup** found, SkTDDrawableArray** grandList); 35 SkGroup** parent, SkGroup** found, SkTDDrawableArray** grandList);
36 bool enable(SkAnimateMaker& ) override; 36 bool enable(SkAnimateMaker& ) override;
37 SkTDDrawableArray* getChildren() { return &fChildren; } 37 SkTDDrawableArray* getChildren() { return &fChildren; }
38 SkGroup* getOriginal() { return fOriginal; } 38 SkGroup* getOriginal() { return fOriginal; }
39 bool hasEnable() const override; 39 bool hasEnable() const override;
40 void initialize() override; 40 void initialize() override;
41 SkBool isACopy() { return fOriginal != NULL; } 41 SkBool isACopy() { return fOriginal != nullptr; }
42 void markCopyClear(int index); 42 void markCopyClear(int index);
43 void markCopySet(int index); 43 void markCopySet(int index);
44 void markCopySize(int index); 44 void markCopySize(int index);
45 bool markedForDelete(int index) const { return (fCopies[index >> 5] & 1 << ( index & 0x1f)) == 0; } 45 bool markedForDelete(int index) const { return (fCopies[index >> 5] & 1 << ( index & 0x1f)) == 0; }
46 void reset(); 46 void reset();
47 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* ) o verride; 47 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* ) o verride;
48 void setSteps(int steps) override; 48 void setSteps(int steps) override;
49 #ifdef SK_DEBUG 49 #ifdef SK_DEBUG
50 void validate() override; 50 void validate() override;
51 #endif 51 #endif
(...skipping 11 matching lines...) Expand all
63 }; 63 };
64 64
65 class SkSave: public SkGroup { 65 class SkSave: public SkGroup {
66 DECLARE_MEMBER_INFO(Save); 66 DECLARE_MEMBER_INFO(Save);
67 bool draw(SkAnimateMaker& ) override; 67 bool draw(SkAnimateMaker& ) override;
68 private: 68 private:
69 typedef SkGroup INHERITED; 69 typedef SkGroup INHERITED;
70 }; 70 };
71 71
72 #endif // SkDrawGroup_DEFINED 72 #endif // SkDrawGroup_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkDrawGradient.cpp ('k') | src/animator/SkDrawGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698