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

Unified Diff: win8/metro_driver/winrt_utils_unittest.cc

Issue 1521473002: Make metro_driver_unittests build with clang/win. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: win8/metro_driver/winrt_utils_unittest.cc
diff --git a/win8/metro_driver/winrt_utils_unittest.cc b/win8/metro_driver/winrt_utils_unittest.cc
index 9ae869b2520184480581d551e00e1eeae9ab0d28..6fa1bc7e2bf2088672f0080be5072f0b4d5626a0 100644
--- a/win8/metro_driver/winrt_utils_unittest.cc
+++ b/win8/metro_driver/winrt_utils_unittest.cc
@@ -11,12 +11,12 @@
namespace {
template <typename Type>
-static HRESULT CreateProperty(Type value, winfoundtn::IPropertyValue** prop) {
+HRESULT CreateProperty(Type value, winfoundtn::IPropertyValue** prop) {
return E_NOTIMPL;
}
template <>
-static HRESULT CreateProperty<const wchar_t*>(
+HRESULT CreateProperty<const wchar_t*>(
const wchar_t* value, winfoundtn::IPropertyValue** prop) {
mswrw::HString string_value;
string_value.Attach(MakeHString(value));
@@ -24,43 +24,43 @@ static HRESULT CreateProperty<const wchar_t*>(
}
template <>
-static HRESULT CreateProperty<INT16>(INT16 value,
+HRESULT CreateProperty<INT16>(INT16 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateInt16Property(value, prop);
}
template <>
-static HRESULT CreateProperty<INT32>(INT32 value,
+HRESULT CreateProperty<INT32>(INT32 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateInt32Property(value, prop);
}
template <>
-static HRESULT CreateProperty<INT64>(INT64 value,
+HRESULT CreateProperty<INT64>(INT64 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateInt64Property(value, prop);
}
template <>
-static HRESULT CreateProperty<UINT8>(UINT8 value,
+HRESULT CreateProperty<UINT8>(UINT8 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateUInt8Property(value, prop);
}
template <>
-static HRESULT CreateProperty<UINT16>(UINT16 value,
+HRESULT CreateProperty<UINT16>(UINT16 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateUInt16Property(value, prop);
}
template <>
-static HRESULT CreateProperty<UINT32>(UINT32 value,
+HRESULT CreateProperty<UINT32>(UINT32 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateUInt32Property(value, prop);
}
template <>
-static HRESULT CreateProperty<UINT64>(UINT64 value,
+HRESULT CreateProperty<UINT64>(UINT64 value,
winfoundtn::IPropertyValue** prop) {
return winrt_utils::CreateUInt64Property(value, prop);
}
« 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