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

Unified Diff: src/core/SkRecord.h

Issue 1567123006: Use ::std for is_empty, is_class, add_xxx_reference, remove decay. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 | « include/private/SkUniquePtr.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkRecord.h
diff --git a/src/core/SkRecord.h b/src/core/SkRecord.h
index 8901d62e9193a4e136eb62d24b451491f2244377..866d1837ad57ed4852c3ef4e117690e2be59e8ff 100644
--- a/src/core/SkRecord.h
+++ b/src/core/SkRecord.h
@@ -138,13 +138,13 @@ private:
};
template <typename T>
- SK_WHEN(skstd::is_empty<T>::value, T*) allocCommand() {
+ SK_WHEN(std::is_empty<T>::value, T*) allocCommand() {
static T singleton = {};
return &singleton;
}
template <typename T>
- SK_WHEN(!skstd::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); }
+ SK_WHEN(!std::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); }
void grow();
« no previous file with comments | « include/private/SkUniquePtr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698