Commit 4d9f7052 authored by e.hakkinen's avatar e.hakkinen Committed by Commit bot

cc: Drop an unused member variable from tiling data iterators

Tiling data iterators need tiling data pointer only in constructors thus
there is no need to store that pointer into a member variable.

Review URL: https://codereview.chromium.org/798973003

Cr-Commit-Position: refs/heads/master@{#308330}
parent e4584d5c
This diff is collapsed.
...@@ -76,13 +76,12 @@ class CC_EXPORT TilingData { ...@@ -76,13 +76,12 @@ class CC_EXPORT TilingData {
} }
protected: protected:
explicit BaseIterator(const TilingData* tiling_data); BaseIterator();
void done() { void done() {
index_x_ = -1; index_x_ = -1;
index_y_ = -1; index_y_ = -1;
} }
const TilingData* tiling_data_;
int index_x_; int index_x_;
int index_y_; int index_y_;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment