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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp

Issue 1911473002: Rename transformToRoot:ish names to screenScaleFactorChanged:ish ones (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-hiddencontainer-layout-no-xfrmchg
Patch Set: Update comment in LayoutSVGText. Created 4 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index 9413c6868a932a243361ee2fae82e3477ece1982..ae83ffc43365f489aa6585761a44f989991ba87c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -223,8 +223,8 @@ void LayoutSVGText::layout()
m_needsPositioningValuesUpdate = false;
updateCachedBoundariesInParents = true;
} else if (m_needsTextMetricsUpdate || SVGLayoutSupport::findTreeRootObject(this)->isLayoutSizeChanged()) {
- // If the root layout size changed (eg. window size changes) or the transform to the root
- // context has changed then recompute the on-screen font size.
+ // If the root layout size changed (eg. window size changes), or the screen scale factor has
+ // changed, then recompute the on-screen font size.
updateFontAndMetrics(*this);
ASSERT(!m_needsReordering);

Powered by Google App Engine
This is Rietveld 408576698