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 b16dc305dc3c74c5f30120d9bc928278b0495b12..748444a8531261728495a6525df0ac3f8bcecf0d 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -240,6 +240,7 @@ using DocumentClassFlags = unsigned char; |
class CORE_EXPORT Document : public ContainerNode, public TreeScope, public SecurityContext, public ExecutionContext, public Supplementable<Document> { |
DEFINE_WRAPPERTYPEINFO(); |
USING_GARBAGE_COLLECTED_MIXIN(Document); |
+ friend class Settings; |
public: |
static Document* create(const DocumentInit& initializer = DocumentInit()) |
{ |
@@ -1434,6 +1435,9 @@ private: |
bool m_visibilityWasLogged; |
Member<PropertyRegistry> m_propertyRegistry; |
+ |
+ // m_defaultSettings will be used only if the document does not have a frame. |
+ mutable std::unique_ptr<Settings> m_defaultSettings; |
}; |
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; |