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

Unified Diff: Source/core/rendering/svg/RenderSVGInlineText.cpp

Issue 87503003: Moving fontSelector from StyleResolver to StyleEngine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | « Source/core/rendering/RenderMenuList.cpp ('k') | Source/web/AutofillPopupMenuClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGInlineText.cpp
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.cpp b/Source/core/rendering/svg/RenderSVGInlineText.cpp
index 72d6ee23d4cfc917141267e86f4e913d689107d5..e8041f8c1c21b7ccc6d114d3bac1cc76cffbe7a3 100644
--- a/Source/core/rendering/svg/RenderSVGInlineText.cpp
+++ b/Source/core/rendering/svg/RenderSVGInlineText.cpp
@@ -27,7 +27,6 @@
#include "core/css/CSSFontSelector.h"
#include "core/css/FontSize.h"
-#include "core/css/resolver/StyleResolver.h"
#include "core/editing/VisiblePosition.h"
#include "core/rendering/svg/RenderSVGText.h"
#include "core/rendering/svg/SVGInlineTextBox.h"
@@ -237,7 +236,7 @@ void RenderSVGInlineText::computeNewScaledFontForStyle(RenderObject* renderer, c
fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize));
scaledFont = Font(fontDescription, 0, 0);
- scaledFont.update(document.ensureStyleResolver().fontSelector());
+ scaledFont.update(document.styleEngine()->fontSelector());
}
}
« no previous file with comments | « Source/core/rendering/RenderMenuList.cpp ('k') | Source/web/AutofillPopupMenuClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698