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

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: Adding the failed tests to TestExpectations for Mac. 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..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>;

Powered by Google App Engine
This is Rietveld 408576698