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

Unified Diff: include/core/SkTArray.h

Issue 1259143006: Remove unnecessary virtual destructor on SkTArray (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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/SkTArray.h
diff --git a/include/core/SkTArray.h b/include/core/SkTArray.h
index a035f6e9afb3aa96690b41c7c57cb2473f4b196c..4bf1d70c6bf69cfbcf7f4544125a58f7714bbc81 100644
--- a/include/core/SkTArray.h
+++ b/include/core/SkTArray.h
@@ -107,7 +107,7 @@ public:
return *this;
}
- virtual ~SkTArray() {
+ ~SkTArray() {
for (int i = 0; i < fCount; ++i) {
fItemArray[i].~T();
}
« 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