Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index 0f028a7cb1d32cb7c4f797b6acb2aca4262d3bb4..96c4bd276bac681c008d2578167501bb332403b1 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -64,10 +64,9 @@ StyleEngine::StyleEngine(Document& document) |
m_isMaster(!document.importsController() || |
document.importsController()->master() == &document), |
m_documentStyleSheetCollection( |
- DocumentStyleSheetCollection::create(document)) |
+ DocumentStyleSheetCollection::create(document)), |
// We don't need to create CSSFontSelector for imported document or |
// HTMLTemplateElement's document, because those documents have no frame. |
- , |
m_fontSelector(document.frame() ? CSSFontSelector::create(&document) |
: nullptr) { |
if (m_fontSelector) |