| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 918fe8920fc185a7b77e0888895ed187d1baf7e1..4101f38d82f0c5739af3bca2326aed533460845a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -1359,15 +1359,15 @@ Element* Document::scrollingElement() {
|
| }
|
|
|
| // We use HashMap::set over HashMap::add here as we want to
|
| -// replace the ComputedStyle but not the Element if the Element is
|
| +// replace the ComputedStyle but not the Node if the Node is
|
| // already present.
|
| -void Document::addStyleReattachData(Element& element,
|
| +void Document::addStyleReattachData(Node& node,
|
| StyleReattachData& styleReattachData) {
|
| - m_styleReattachDataMap.set(&element, styleReattachData);
|
| + m_styleReattachDataMap.set(&node, styleReattachData);
|
| }
|
|
|
| -StyleReattachData Document::getStyleReattachData(Element& element) {
|
| - return m_styleReattachDataMap.get(&element);
|
| +StyleReattachData Document::getStyleReattachData(Node& node) {
|
| + return m_styleReattachDataMap.get(&node);
|
| }
|
|
|
| /*
|
|
|