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

Unified Diff: third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h

Issue 2730633004: [CSS Typed OM] Rearrange StylePropertyMap classes to match the new spec. (Closed)
Patch Set: Remove spurious : Created 3 years, 9 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
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)),
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698