Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 016db6d82c0fbfb540abf1074d05c0eaa79f7e2d..f9b8c45508b20637e5c1211dcb5ee46d8fa5dff3 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -85,7 +85,7 @@ StyleEngine::StyleEngine(Document& document) |
, m_didCalculateResolver(false) |
// 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) : 0) |
+ , m_fontSelector(document.frame() ? CSSFontSelector::create(&document) : nullptr) |
{ |
} |