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

Unified Diff: trunk/Source/platform/text/TextRun.h

Issue 146503002: Revert 165189 "Rendering text-justify:distribute for 8 bit chara..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 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 | « trunk/Source/platform/fonts/mac/ComplexTextController.cpp ('k') | trunk/Source/platform/text/TextRun.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/platform/text/TextRun.h
===================================================================
--- trunk/Source/platform/text/TextRun.h (revision 165706)
+++ trunk/Source/platform/text/TextRun.h (working copy)
@@ -76,7 +76,6 @@
, m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
, m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
, m_disableSpacing(false)
- , m_distributeJustification(false)
, m_tabSize(0)
{
m_data.characters8 = c;
@@ -97,7 +96,6 @@
, m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
, m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
, m_disableSpacing(false)
- , m_distributeJustification(false)
, m_tabSize(0)
{
m_data.characters16 = c;
@@ -117,7 +115,6 @@
, m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
, m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
, m_disableSpacing(false)
- , m_distributeJustification(false)
, m_tabSize(0)
{
if (!m_charactersLength) {
@@ -146,7 +143,6 @@
, m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
, m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
, m_disableSpacing(false)
- , m_distributeJustification(false)
, m_tabSize(0)
{
if (!m_charactersLength) {
@@ -201,8 +197,6 @@
float xPos() const { return m_xpos; }
void setXPos(float xPos) { m_xpos = xPos; }
float expansion() const { return m_expansion; }
- bool isDistributeJustification() const { return m_distributeJustification; }
- void setDistributeJustification(bool distributeJustification) { m_distributeJustification = distributeJustification; }
bool allowsLeadingExpansion() const { return m_expansionBehavior & AllowLeadingExpansion; }
bool allowsTrailingExpansion() const { return m_expansionBehavior & AllowTrailingExpansion; }
TextDirection direction() const { return static_cast<TextDirection>(m_direction); }
@@ -261,7 +255,6 @@
unsigned m_applyRunRounding : 1;
unsigned m_applyWordRounding : 1;
unsigned m_disableSpacing : 1;
- unsigned m_distributeJustification : 1;
unsigned m_tabSize;
RefPtr<RenderingContext> m_renderingContext;
};
« no previous file with comments | « trunk/Source/platform/fonts/mac/ComplexTextController.cpp ('k') | trunk/Source/platform/text/TextRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698