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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h

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/SVGLayoutSupport.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
index a43dc05dc80deac50bb9f8ef3043eed52474e339..9097278a4aae2b30118a8dc070a20c826b9f6d1a 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
@@ -50,7 +50,7 @@ class CORE_EXPORT SVGLayoutSupport {
STATIC_ONLY(SVGLayoutSupport);
public:
// Shares child layouting code between LayoutSVGRoot/LayoutSVG(Hidden)Container
- static void layoutChildren(LayoutObject*, bool forceLayout, bool transformChanged, bool layoutSizeChanged);
+ static void layoutChildren(LayoutObject*, bool forceLayout, bool screenScalingFactorChanged, bool layoutSizeChanged);
// Layout resources used by this node.
static void layoutResourcesIfNeeded(const LayoutObject*);
@@ -88,8 +88,8 @@ public:
static DashArray resolveSVGDashArray(const SVGDashArray&, const ComputedStyle&, const SVGLengthContext&);
- // Determines if any ancestor's transform has changed.
- static bool transformToRootChanged(const LayoutObject*);
+ // Determines if any ancestor has adjusted the scale factor.
+ static bool screenScaleFactorChanged(const LayoutObject*);
// Determines if any ancestor's layout size has changed.
static bool layoutSizeOfNearestViewportChanged(const LayoutObject*);

Powered by Google App Engine
This is Rietveld 408576698