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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2560673002: Change key of m_styleReattachDataMap to Node instead of Element (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7367aeb81b9113248eeb817018b84b7299a97b5a..e38d857428a6907be55a809e30989ab793c394f4 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -354,8 +354,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;
@@ -1440,7 +1440,7 @@ class CORE_EXPORT Document : public ContainerNode,
Member<DocumentParser> m_parser;
Member<ContextFeatures> m_contextFeatures;
sashab 2016/12/07 02:37:19 Add comment here explaining what this hash map sto
- HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap;
+ HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap;
bool m_wellFormed;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698