Index: Source/core/css/resolver/FontBuilder.cpp |
diff --git a/Source/core/css/resolver/FontBuilder.cpp b/Source/core/css/resolver/FontBuilder.cpp |
index 0ec0919383334de58eee0d141085680b06701b40..6173c80a37f0872459e1af423320231da9532545 100644 |
--- a/Source/core/css/resolver/FontBuilder.cpp |
+++ b/Source/core/css/resolver/FontBuilder.cpp |
@@ -70,10 +70,7 @@ FontBuilder::FontBuilder() |
void FontBuilder::initForStyleResolve(const Document& document, RenderStyle* style, bool useSVGZoomRules) |
{ |
- // All documents need to be in a frame (and thus have access to Settings) |
- // for style-resolution to make sense. |
- // Unfortunately SVG Animations currently violate this: crbug.com/260966 |
- // ASSERT(m_document->frame()); |
+ ASSERT(document.frame()); |
m_document = &document; |
m_useSVGZoomRules = useSVGZoomRules; |
m_style = style; |