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

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

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Commit the renames Created 4 years, 1 month 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index d31b73c2933e9eba7c572af82fd298f97f0d90e6..d20738ea6cf794346f5e1c4638303ec9b8057176 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;
@@ -1448,7 +1448,7 @@ class CORE_EXPORT Document : public ContainerNode,
Member<DocumentParser> m_parser;
Member<ContextFeatures> m_contextFeatures;
- HeapHashMap<Member<Element>, StyleReattachData> m_styleReattachDataMap;
nainar 2016/11/29 06:13:39 Changed this and all relevant functions since we n
+ HeapHashMap<Member<Node>, StyleReattachData> m_styleReattachDataMap;
bool m_wellFormed;

Powered by Google App Engine
This is Rietveld 408576698