| Index: third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h
|
| index 62334aa709cb7f1984ed7be89597a8d4fbb37484..7ea52a29167aa6c2502d969b05da187a2061c9f5 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h
|
| @@ -6,7 +6,7 @@
|
| #define ComputedStylePropertyMap_h
|
|
|
| #include "core/css/CSSComputedStyleDeclaration.h"
|
| -#include "core/css/cssom/ImmutableStylePropertyMap.h"
|
| +#include "core/css/cssom/StylePropertyMapReadonly.h"
|
| #include "core/dom/Node.h"
|
| #include "core/layout/LayoutObject.h"
|
|
|
| @@ -20,7 +20,7 @@ namespace blink {
|
| // them as CSSStyleValues. The IDL for this class is in StylePropertyMap.idl.
|
| // The computed StylePropertyMapReadOnly for an element is accessed via
|
| // window.getComputedStyleMap(element) (see WindowGetComputedStyle.idl/h)
|
| -class CORE_EXPORT ComputedStylePropertyMap : public ImmutableStylePropertyMap {
|
| +class CORE_EXPORT ComputedStylePropertyMap : public StylePropertyMapReadonly {
|
| WTF_MAKE_NONCOPYABLE(ComputedStylePropertyMap);
|
|
|
| public:
|
| @@ -34,7 +34,7 @@ class CORE_EXPORT ComputedStylePropertyMap : public ImmutableStylePropertyMap {
|
| DEFINE_INLINE_VIRTUAL_TRACE() {
|
| visitor->trace(m_computedStyleDeclaration);
|
| visitor->trace(m_node);
|
| - ImmutableStylePropertyMap::trace(visitor);
|
| + StylePropertyMapReadonly::trace(visitor);
|
| }
|
|
|
| private:
|
| @@ -42,7 +42,7 @@ class CORE_EXPORT ComputedStylePropertyMap : public ImmutableStylePropertyMap {
|
|
|
| protected:
|
| ComputedStylePropertyMap(Node* node, const String& pseudoElement = String())
|
| - : ImmutableStylePropertyMap(),
|
| + : StylePropertyMapReadonly(),
|
| m_computedStyleDeclaration(
|
| CSSComputedStyleDeclaration::create(node, false, pseudoElement)),
|
| m_pseudoId(CSSSelector::parsePseudoId(pseudoElement)),
|
|
|