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

Unified Diff: extensions/common/permissions/base_set_operators.h

Issue 1774443002: Replace template_util.h stuff with C++11 <type_traits> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unrelated whitespace change Created 4 years, 9 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 | « device/hid/hid_service_win.cc ('k') | gin/object_template_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/base_set_operators.h
diff --git a/extensions/common/permissions/base_set_operators.h b/extensions/common/permissions/base_set_operators.h
index 2ac5357073ba81ac115271d77340364a0a725660..ffe0323da225693cc2a28ca2d45e730277f5d281 100644
--- a/extensions/common/permissions/base_set_operators.h
+++ b/extensions/common/permissions/base_set_operators.h
@@ -11,7 +11,6 @@
#include <map>
#include "base/memory/linked_ptr.h"
-#include "base/template_util.h"
namespace extensions {
@@ -71,8 +70,8 @@ class BaseSetOperators {
BaseSetOperators() {
// Ensure |T| is convertible to us, so we can safely downcast when calling
// methods that must exist in |T|.
- static_assert((base::is_convertible<T*, BaseSetOperators<T>*>::value),
- "U ptr must implicitly convert to T ptr");
+ static_assert(std::is_convertible<T*, BaseSetOperators<T>*>::value,
+ "U ptr must implicitly convert to T ptr");
}
BaseSetOperators(const T& set) {
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | gin/object_template_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698