| Index: src/core/SkTDPQueue.h
|
| diff --git a/src/core/SkTDPQueue.h b/src/core/SkTDPQueue.h
|
| index 1545f97995371de2509243465cb958c98e765f94..294c9f410bcbea910fb6d96ac4dfa26ff76482e4 100644
|
| --- a/src/core/SkTDPQueue.h
|
| +++ b/src/core/SkTDPQueue.h
|
| @@ -34,7 +34,7 @@ public:
|
| /** Gets the next item in the queue without popping it. */
|
| const T& peek() const { return fArray[0]; }
|
| T& peek() { return fArray[0]; }
|
| -
|
| +
|
| /** Removes the next item. */
|
| void pop() {
|
| this->validate();
|
| @@ -134,7 +134,7 @@ private:
|
| SkASSERT(index >= 0);
|
| do {
|
| int child = LeftOf(index);
|
| -
|
| +
|
| if (child >= fArray.count()) {
|
| // We're a leaf.
|
| this->setIndex(index);
|
| @@ -188,7 +188,7 @@ private:
|
| }
|
|
|
| SkTDArray<T> fArray;
|
| -
|
| +
|
| typedef SkNoncopyable INHERITED;
|
| };
|
|
|
|
|