| Index: ui/aura/window_property.h
|
| diff --git a/ui/aura/window_property.h b/ui/aura/window_property.h
|
| index b3774d66597c98ff5ae8c2a1ce4dc13960583ba0..6c2bbb481b656992a30d526fbc6971081cdfe482 100644
|
| --- a/ui/aura/window_property.h
|
| +++ b/ui/aura/window_property.h
|
| @@ -110,21 +110,22 @@ class AURA_EXPORT PropertyHelper {
|
| } // namespace aura
|
|
|
| // Macros to instantiate the property getter/setter template functions.
|
| -#define DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(EXPORT, T) \
|
| - namespace aura { \
|
| - template<> EXPORT void aura::Window::SetProperty( \
|
| - const WindowProperty<T >* property, T value) { \
|
| - subtle::PropertyHelper::Set<T>(this, property, value); \
|
| - } \
|
| - template<> EXPORT T Window::GetProperty( \
|
| - const WindowProperty<T >* property) const { \
|
| - return subtle::PropertyHelper::Get<T>(this, property); \
|
| - } \
|
| - template<> EXPORT void Window::ClearProperty( \
|
| - const WindowProperty<T >* property) { \
|
| - subtle::PropertyHelper::Clear<T>(this, property); \
|
| - } \
|
| - }
|
| +#define DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(EXPORT, T) \
|
| + namespace aura { \
|
| + template <> \
|
| + EXPORT void Window::SetProperty(const WindowProperty<T>* property, \
|
| + T value) { \
|
| + subtle::PropertyHelper::Set<T>(this, property, value); \
|
| + } \
|
| + template <> \
|
| + EXPORT T Window::GetProperty(const WindowProperty<T>* property) const { \
|
| + return subtle::PropertyHelper::Get<T>(this, property); \
|
| + } \
|
| + template <> \
|
| + EXPORT void Window::ClearProperty(const WindowProperty<T>* property) { \
|
| + subtle::PropertyHelper::Clear<T>(this, property); \
|
| + } \
|
| + }
|
| #define DECLARE_WINDOW_PROPERTY_TYPE(T) \
|
| DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(, T)
|
|
|
|
|