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

Unified Diff: include/core/SkTDArray.h

Issue 18363003: fix copy in SkTDArray (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTDArray.h
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h
index 66abcd474b0b71c91a34aea4a13db729b6e61253..8b8bb01e3df4e12e6e3be4506b8a380f9afb7011 100644
--- a/include/core/SkTDArray.h
+++ b/include/core/SkTDArray.h
@@ -268,7 +268,7 @@ public:
}
void copy(T* dst) const {
- this->copyRange(0, fCount, dst);
+ this->copyRange(dst, 0, fCount);
}
// routines to treat the array like a stack
« 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