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

Unified Diff: win8/metro_driver/winrt_utils.cc

Issue 373423004: win/clang: Don't token-paste ( onto function name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: win8/metro_driver/winrt_utils.cc
diff --git a/win8/metro_driver/winrt_utils.cc b/win8/metro_driver/winrt_utils.cc
index 26da18a2266f401e8b22d4a6db05437fb5360d59..5c724dfe46f56a43a442e9fffa23ed62dabfc98a 100644
--- a/win8/metro_driver/winrt_utils.cc
+++ b/win8/metro_driver/winrt_utils.cc
@@ -51,7 +51,7 @@ HRESULT Create ## Name ## Property(Type value, \
RuntimeClass_Windows_Foundation_PropertyValue, \
property_value_statics.GetAddressOf()); \
CheckHR(hr, "Can't create IPropertyValueStatics"); \
- hr = property_value_statics->Create ## Name ## ( \
+ hr = property_value_statics->Create ## Name ( \
value, \
reinterpret_cast<IInspectable**>(prop)); \
CheckHR(hr, "Failed to create Property"); \
@@ -60,10 +60,10 @@ HRESULT Create ## Name ## Property(Type value, \
#define COMPARE_ATOMIC_PROPERTY_VALUES(Name, Type) \
Type lhs_value; \
- hr = lhs->Get ## Name ##(&lhs_value); \
+ hr = lhs->Get ## Name (&lhs_value); \
CheckHR(hr, "Can't get value for lhs"); \
Type rhs_value; \
- hr = rhs->Get ## Name ##(&rhs_value); \
+ hr = rhs->Get ## Name (&rhs_value); \
CheckHR(hr, "Can't get value for rhs"); \
if (lhs_value < rhs_value) \
*result = -1; \
« 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