Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: Source/core/css/resolver/FontBuilder.cpp

Issue 266443002: code clean-up, issue crbug.com/260966 is fixed with (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correcting Assert Check Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698