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

Unified Diff: Source/core/layout/svg/line/SVGRootInlineBox.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/line/SVGInlineTextBox.cpp ('k') | Source/core/layout/svg/line/SVGRootInlineBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/line/SVGRootInlineBox.h
diff --git a/Source/core/layout/svg/line/SVGRootInlineBox.h b/Source/core/layout/svg/line/SVGRootInlineBox.h
index 9d90b575cedec97013a8892b545829cf9e4cc1ed..f41025386559c780c2fc6ea3de31350d7d441248 100644
--- a/Source/core/layout/svg/line/SVGRootInlineBox.h
+++ b/Source/core/layout/svg/line/SVGRootInlineBox.h
@@ -23,7 +23,6 @@
#ifndef SVGRootInlineBox_h
#define SVGRootInlineBox_h
-#include "core/layout/line/FloatToLayoutUnit.h"
#include "core/layout/line/RootInlineBox.h"
#include "core/layout/svg/SVGTextLayoutEngine.h"
@@ -39,8 +38,8 @@ public:
virtual bool isSVGRootInlineBox() const override { return true; }
- virtual FloatWillBeLayoutUnit virtualLogicalHeight() const override { return m_logicalHeight; }
- void setLogicalHeight(FloatWillBeLayoutUnit height) { m_logicalHeight = height; }
+ virtual LayoutUnit virtualLogicalHeight() const override { return m_logicalHeight; }
+ void setLogicalHeight(LayoutUnit height) { m_logicalHeight = height; }
virtual void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
@@ -52,11 +51,11 @@ public:
private:
void reorderValueLists(Vector<SVGTextLayoutAttributes*>&);
- void layoutChildBoxes(InlineFlowBox*, FloatRectWillBeLayoutRect* = 0);
- void layoutRootBox(const FloatRectWillBeLayoutRect&);
+ void layoutChildBoxes(InlineFlowBox*, LayoutRect* = 0);
+ void layoutRootBox(const LayoutRect&);
private:
- FloatWillBeLayoutUnit m_logicalHeight;
+ LayoutUnit m_logicalHeight;
};
DEFINE_INLINE_BOX_TYPE_CASTS(SVGRootInlineBox);
« no previous file with comments | « Source/core/layout/svg/line/SVGInlineTextBox.cpp ('k') | Source/core/layout/svg/line/SVGRootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698