diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-01 19:29:32 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-01 19:29:32 +0000 |
commit | c7bf2963f00a29bd28e5e2a446da79f93c1d9383 (patch) | |
tree | 065de5e21129c28201547891d806bff2f60bb646 /include/core | |
parent | fb495b537f5ddd6966f02cfe38f6b106a4869934 (diff) |
Rolling back r8466.
Not reviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@8467 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkTArray.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkTArray.h b/include/core/SkTArray.h index bb5e57eada..45808d4b60 100644 --- a/include/core/SkTArray.h +++ b/include/core/SkTArray.h @@ -112,21 +112,6 @@ public: void reset() { this->pop_back_n(fCount); } /** - * Resets to a copy of a C array. - */ - void reset(const T* array, int count) { - for (int i = 0; i < fCount; ++i) { - fItemArray[i].~T(); - } - int delta = count - fCount; - this->checkRealloc(delta); - fCount = count; - for (int i = 0; i < count; ++i) { - SkTArrayExt::copy(this, array); - } - } - - /** * Number of elements in the array. */ int count() const { return fCount; } |