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

Unified Diff: Source/core/layout/svg/LayoutSVGInlineText.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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 | « Source/core/layout/svg/LayoutSVGInline.cpp ('k') | Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGInlineText.h
diff --git a/Source/core/layout/svg/LayoutSVGInlineText.h b/Source/core/layout/svg/LayoutSVGInlineText.h
index d4a02210eae6ad06034e87146386d0d31d179bcb..f35e7bcaaa47a21d9ff11fa7ed2c6494b0dfbb96 100644
--- a/Source/core/layout/svg/LayoutSVGInlineText.h
+++ b/Source/core/layout/svg/LayoutSVGInlineText.h
@@ -38,7 +38,7 @@ public:
float scalingFactor() const { return m_scalingFactor; }
const Font& scaledFont() const { return m_scaledFont; }
void updateScaledFont();
- static void computeNewScaledFontForStyle(LayoutObject*, const LayoutStyle*, float& scalingFactor, Font& scaledFont);
+ static void computeNewScaledFontForStyle(LayoutObject*, const ComputedStyle*, float& scalingFactor, Font& scaledFont);
// Preserves floating point precision for the use in DRT. It knows how to round and does a better job than enclosingIntRect.
FloatRect floatLinesBoundingBox() const;
@@ -49,7 +49,7 @@ public:
private:
virtual void setTextInternal(PassRefPtr<StringImpl>) override;
- virtual void styleDidChange(StyleDifference, const LayoutStyle*) override;
+ virtual void styleDidChange(StyleDifference, const ComputedStyle*) override;
virtual FloatRect objectBoundingBox() const override { return floatLinesBoundingBox(); }
« no previous file with comments | « Source/core/layout/svg/LayoutSVGInline.cpp ('k') | Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698