Chromium Code Reviews| 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 bf6b2ec2e7cc0b3d9532c6c99dcda7366683bb39..7fc61d82f68aee6c46a315d0e40e284764b5f1bc 100644 |
| --- a/third_party/WebKit/Source/core/dom/Document.h |
| +++ b/third_party/WebKit/Source/core/dom/Document.h |
| @@ -328,6 +328,9 @@ class CORE_EXPORT Document : public ContainerNode, |
| Range* caretRangeFromPoint(int x, int y); |
| Element* scrollingElement(); |
| + void addNonAttachedStyle(Element*, RefPtr<ComputedStyle>); |
|
esprehn
2016/10/05 02:17:40
Element&
nainar
2016/10/05 03:32:37
Done.
|
| + RefPtr<ComputedStyle> getNonAttachedStyle(Element*); |
|
esprehn
2016/10/05 02:17:40
Element&
nainar
2016/10/05 03:32:37
Done.
|
| + |
| String readyState() const; |
| AtomicString characterSet() const { return Document::encodingName(); } |
| @@ -1411,6 +1414,10 @@ class CORE_EXPORT Document : public ContainerNode, |
| Member<DocumentParser> m_parser; |
| Member<ContextFeatures> m_contextFeatures; |
| + using NonAttachedStyleMap = |
|
esprehn
2016/10/05 02:17:40
I'd remove the typedef here, you don't need it
nainar
2016/10/05 03:32:37
Done.
|
| + HeapHashMap<Member<Element>, RefPtr<ComputedStyle>>; |
| + NonAttachedStyleMap m_nonAttachedStyle; |
| + |
| bool m_wellFormed; |
| // Document URLs. |