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..6881cf2a14471f0bd77adce7554b70841eae3040 100644 |
--- a/Source/core/css/resolver/FontBuilder.cpp |
+++ b/Source/core/css/resolver/FontBuilder.cpp |
@@ -70,10 +70,8 @@ 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()); |
+ // bug "crbug.com/260966" is fixed so uncommenting Assert |
pdr.
2014/04/30 04:50:20
No need for this comment, lets just have the asser
|
+ ASSERT(m_document->frame()); |
m_document = &document; |
m_useSVGZoomRules = useSVGZoomRules; |
m_style = style; |