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

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

Issue 2336693002: Rendering text to a canvas in a frame-less document. (Closed)
Patch Set: Created 4 years, 3 months 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 b16dc305dc3c74c5f30120d9bc928278b0495b12..2c86b5efc99efcf9e6acc340f4de46e6ff13a978 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,8 @@ private:
bool m_visibilityWasLogged;
Member<PropertyRegistry> m_propertyRegistry;
+
+ std::unique_ptr<Settings> m_settings;
Justin Novosad 2016/09/12 18:44:59 You should call this m_defaultSettings
zakerinasab 2016/09/12 19:47:33 Done.
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>;

Powered by Google App Engine
This is Rietveld 408576698