Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 8fef529d996e416d456b2efc891fcbca9a0a3156..7dbd363b650daaa0ed5c4106b8d4ef432afa2975 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -5648,6 +5648,11 @@ Document& Document::ensureTemplateDocument() |
return *m_templateDocument.get(); |
} |
+const ComputedStyle* Document::virtualEnsureComputedStyle(PseudoId pseudoElementSpecifier) |
+{ |
+ return m_layoutView ? m_layoutView->style() : nullptr; |
+} |
+ |
void Document::didAssociateFormControl(Element* element) |
{ |
if (!frame() || !frame()->page()) |