| Index: Source/core/rendering/InlineTextBox.h
|
| diff --git a/Source/core/rendering/InlineTextBox.h b/Source/core/rendering/InlineTextBox.h
|
| index c01cb95d328857532e62c86a265322219b1b1227..ca8b58070b16c8a245fef2add4691eab39de6fa0 100644
|
| --- a/Source/core/rendering/InlineTextBox.h
|
| +++ b/Source/core/rendering/InlineTextBox.h
|
| @@ -26,7 +26,6 @@
|
| #include "core/rendering/FloatToLayoutUnit.h"
|
| #include "core/rendering/InlineBox.h"
|
| #include "core/rendering/RenderText.h" // so textRenderer() can be inline
|
| -#include "platform/fonts/TextBlob.h"
|
| #include "platform/text/TextRun.h"
|
| #include "wtf/Forward.h"
|
|
|
| @@ -97,9 +96,6 @@ public:
|
| virtual const char* boxName() const override;
|
| #endif
|
|
|
| - enum RotationDirection { Counterclockwise, Clockwise };
|
| - static AffineTransform rotation(const FloatRectWillBeLayoutRect& boxRect, RotationDirection);
|
| -
|
| public:
|
| TextRun constructTextRunForInspector(RenderStyle*, const Font&) const;
|
| virtual FloatRectWillBeLayoutRect calculateBoundaries() const override { return FloatRectWillBeLayoutRect(x(), y(), width(), height()); }
|
| @@ -178,12 +174,6 @@ DEFINE_INLINE_BOX_TYPE_CASTS(InlineTextBox);
|
|
|
| void alignSelectionRectToDevicePixels(FloatRectWillBeLayoutRect&);
|
|
|
| -inline AffineTransform InlineTextBox::rotation(const FloatRectWillBeLayoutRect& boxRect, RotationDirection rotationDirection)
|
| -{
|
| - return rotationDirection == Clockwise ? AffineTransform(0, 1, -1, 0, boxRect.x() + boxRect.maxY(), boxRect.maxY() - boxRect.x())
|
| - : AffineTransform(0, -1, 1, 0, boxRect.x() - boxRect.maxY(), boxRect.x() + boxRect.maxY());
|
| -}
|
| -
|
| } // namespace blink
|
|
|
| #endif // InlineTextBox_h
|
|
|