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

Unified Diff: Source/core/layout/svg/line/SVGInlineFlowBox.h

Issue 1043643002: Switch line layout to LayoutUnit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More TestExpectations tweaks Created 5 years, 7 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/SVGLayoutTreeAsText.cpp ('k') | Source/core/layout/svg/line/SVGInlineFlowBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/line/SVGInlineFlowBox.h
diff --git a/Source/core/layout/svg/line/SVGInlineFlowBox.h b/Source/core/layout/svg/line/SVGInlineFlowBox.h
index 544ce6b3ac862473435775adace9d49ac3a4811d..2c78b2002b64c5a3112b6af37777e5bb039a2ce4 100644
--- a/Source/core/layout/svg/line/SVGInlineFlowBox.h
+++ b/Source/core/layout/svg/line/SVGInlineFlowBox.h
@@ -21,7 +21,6 @@
#ifndef SVGInlineFlowBox_h
#define SVGInlineFlowBox_h
-#include "core/layout/line/FloatToLayoutUnit.h"
#include "core/layout/line/InlineFlowBox.h"
namespace blink {
@@ -35,15 +34,15 @@ public:
}
virtual bool isSVGInlineFlowBox() const override { return true; }
- virtual FloatWillBeLayoutUnit virtualLogicalHeight() const override { return m_logicalHeight; }
- void setLogicalHeight(FloatWillBeLayoutUnit h) { m_logicalHeight = h; }
+ virtual LayoutUnit virtualLogicalHeight() const override { return m_logicalHeight; }
+ void setLogicalHeight(LayoutUnit h) { m_logicalHeight = h; }
virtual void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
- virtual FloatRectWillBeLayoutRect calculateBoundaries() const override;
+ virtual LayoutRect calculateBoundaries() const override;
private:
- FloatWillBeLayoutUnit m_logicalHeight;
+ LayoutUnit m_logicalHeight;
};
DEFINE_INLINE_BOX_TYPE_CASTS(SVGInlineFlowBox);
« no previous file with comments | « Source/core/layout/svg/SVGLayoutTreeAsText.cpp ('k') | Source/core/layout/svg/line/SVGInlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698