Index: src/gpu/GrTraceMarker.cpp |
diff --git a/src/gpu/GrTraceMarker.cpp b/src/gpu/GrTraceMarker.cpp |
index 16c90c2985a59e3dfe2d49857582b1e95198a795..11cdd5e2c2532340c0998cd1b32f576d65d9845f 100644 |
--- a/src/gpu/GrTraceMarker.cpp |
+++ b/src/gpu/GrTraceMarker.cpp |
@@ -13,36 +13,6 @@ |
//////////////////////////////////////////////////////////////////////////////// |
-class GrTraceMarkerSet::Iter { |
-public: |
- Iter() {}; |
- Iter& operator=(const Iter& i) { |
- fCurrentIndex = i.fCurrentIndex; |
- fMarkers = i.fMarkers; |
- return *this; |
- } |
- bool operator==(const Iter& i) const { |
- return fCurrentIndex == i.fCurrentIndex && fMarkers == i.fMarkers; |
- } |
- bool operator!=(const Iter& i) const { return !(*this == i); } |
- const GrGpuTraceMarker& operator*() const { return fMarkers->fMarkerArray[fCurrentIndex]; } |
- Iter& operator++() { |
- SkASSERT(*this != fMarkers->end()); |
- ++fCurrentIndex; |
- return *this; |
- } |
- |
-private: |
- friend class GrTraceMarkerSet; |
- Iter(const GrTraceMarkerSet* markers, int index) |
- : fMarkers(markers), fCurrentIndex(index) { |
- SkASSERT(markers); |
- } |
- |
- const GrTraceMarkerSet* fMarkers; |
- int fCurrentIndex; |
-}; |
- |
//////////////////////////////////////////////////////////////////////////////// |
GrTraceMarkerSet::GrTraceMarkerSet(const GrTraceMarkerSet& other) { |
@@ -114,3 +84,4 @@ GrTraceMarkerSet::Iter GrTraceMarkerSet::begin() const { |
GrTraceMarkerSet::Iter GrTraceMarkerSet::end() const { |
return Iter(this, this->fMarkerArray.count()); |
} |
+ |