Index: Source/core/css/StylePropertySet.h |
diff --git a/Source/core/css/StylePropertySet.h b/Source/core/css/StylePropertySet.h |
index 7d40b4973e3e5c8d7adec51c4a4850937f80909b..753fdc6deec0d8a7143069c2203e0f31f97e413f 100644 |
--- a/Source/core/css/StylePropertySet.h |
+++ b/Source/core/css/StylePropertySet.h |
@@ -1,6 +1,7 @@ |
/* |
* (C) 1999-2003 Lars Knoll (knoll@kde.org) |
* Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
+ * Copyright (C) 2013 Intel Corporation. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -164,12 +165,12 @@ private: |
inline const CSSValue** ImmutableStylePropertySet::valueArray() const |
{ |
- return reinterpret_cast<const CSSValue**>(const_cast<const void**>((&static_cast<const ImmutableStylePropertySet*>(this)->m_storage))); |
+ return reinterpret_cast<const CSSValue**>(const_cast<const void**>(&(this->m_storage))); |
} |
inline const StylePropertyMetadata* ImmutableStylePropertySet::metadataArray() const |
{ |
- return reinterpret_cast<const StylePropertyMetadata*>(&reinterpret_cast<const char*>((&static_cast<const ImmutableStylePropertySet*>(this)->m_storage))[m_arraySize * sizeof(CSSValue*)]); |
+ return reinterpret_cast<const StylePropertyMetadata*>(&reinterpret_cast<const char*>(&(this->m_storage))[m_arraySize * sizeof(CSSValue*)]); |
} |
class MutableStylePropertySet : public StylePropertySet { |