| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index 22a253d4f320c7415c0c08d02eb87c0071c1a607..67ac81e35d1c0d983528e25d022c17404db8ee3e 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -353,8 +353,8 @@ class CORE_EXPORT Document : public ContainerNode,
|
| Range* caretRangeFromPoint(int x, int y);
|
| Element* scrollingElement();
|
|
|
| - void addStyleReattachData(Element&, StyleReattachData&);
|
| - StyleReattachData getStyleReattachData(Element&);
|
| + void addStyleReattachData(Node&, StyleReattachData&);
|
| + StyleReattachData getStyleReattachData(Node&);
|
|
|
| String readyState() const;
|
|
|
| @@ -1444,7 +1444,10 @@ class CORE_EXPORT Document : public ContainerNode,
|
| Member<DocumentParser> m_parser;
|
| Member<ContextFeatures> m_contextFeatures;
|
|
|
| - HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap;
|
| + // This HashMap is used to stash information (ComputedStyle, nextTextSibling)
|
| + // generated in the Style Resolution phase that is required in the
|
| + // Layout Tree construction phase.
|
| + HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap;
|
|
|
| bool m_wellFormed;
|
|
|
|
|