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

Unified Diff: Source/core/rendering/RenderCombineText.h

Issue 881133003: Revert of text-combine should scale rather than fall back to none when wide (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/rendering/RenderCombineText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderCombineText.h
diff --git a/Source/core/rendering/RenderCombineText.h b/Source/core/rendering/RenderCombineText.h
index 87d64726d288ab010cbc1fa5b7b5e8d03fad95fb..c1fc771a767cfc4b3ad552ef8369b86b775a56e5 100644
--- a/Source/core/rendering/RenderCombineText.h
+++ b/Source/core/rendering/RenderCombineText.h
@@ -30,10 +30,8 @@
public:
RenderCombineText(Node*, PassRefPtr<StringImpl>);
- void updateFont();
+ void combineText();
void adjustTextOrigin(FloatPoint& textOrigin, const FloatRect& boxRect) const;
- bool isTransformNeeded() const { return m_scaleX < 1.0f; }
- void transform(GraphicsContext&, const FloatRect& boxRect) const;
void getStringToRender(int, StringView&, int& length) const;
bool isCombined() const { return m_isCombined; }
float combinedTextWidth(const Font& font) const { return font.fontDescription().computedSize(); }
@@ -45,10 +43,8 @@
virtual const char* renderName() const override { return "RenderCombineText"; }
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
virtual void setTextInternal(PassRefPtr<StringImpl>) override;
- void updateIsCombinedAndText();
float m_combinedTextWidth;
- float m_scaleX;
String m_renderingText;
bool m_isCombined : 1;
bool m_needsFontUpdate : 1;
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/rendering/RenderCombineText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698