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

Side by Side Diff: src/core/SkPictureContentInfo.h

Issue 1113023003: Add missing include to SkPictureContentInfo. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 7 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 | « no previous file | 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 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPictureContentInfo_DEFINED 8 #ifndef SkPictureContentInfo_DEFINED
9 #define SkPictureContentInfo_DEFINED 9 #define SkPictureContentInfo_DEFINED
10 10
11 #include "SkTDArray.h"
12
11 class GrContext; 13 class GrContext;
12 14
13 class SkPictureContentInfo { 15 class SkPictureContentInfo {
14 public: 16 public:
15 SkPictureContentInfo() { this->reset(); } 17 SkPictureContentInfo() { this->reset(); }
16 SkPictureContentInfo(const SkPictureContentInfo& src) { this->set(src); } 18 SkPictureContentInfo(const SkPictureContentInfo& src) { this->set(src); }
17 19
18 int numOperations() const { return fNumOperations; } 20 int numOperations() const { return fNumOperations; }
19 bool hasText() const { return fNumTexts > 0; } 21 bool hasText() const { return fNumTexts > 0; }
20 22
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Did the current save or saveLayer contain another saveLayer. 80 // Did the current save or saveLayer contain another saveLayer.
79 // Percolated back down the save stack. 81 // Percolated back down the save stack.
80 kContainedSaveLayer_Flag = 0x4 82 kContainedSaveLayer_Flag = 0x4
81 }; 83 };
82 84
83 // Stack of save vs saveLayer information to track nesting 85 // Stack of save vs saveLayer information to track nesting
84 SkTDArray<uint32_t> fSaveStack; 86 SkTDArray<uint32_t> fSaveStack;
85 }; 87 };
86 88
87 #endif 89 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698