Chromium Code Reviews| Index: Source/core/platform/graphics/Font.h |
| diff --git a/Source/core/platform/graphics/Font.h b/Source/core/platform/graphics/Font.h |
| index f353f814cfadf49cbff4e09aa55f846950ef25e5..44553e9f5ddee64e921463d2535bbebee7215f74 100644 |
| --- a/Source/core/platform/graphics/Font.h |
| +++ b/Source/core/platform/graphics/Font.h |
| @@ -156,8 +156,8 @@ public: |
| static bool isCJKIdeograph(UChar32); |
| static bool isCJKIdeographOrSymbol(UChar32); |
| - static unsigned expansionOpportunityCount(const LChar*, size_t length, TextDirection, bool& isAfterExpansion); |
| - static unsigned expansionOpportunityCount(const UChar*, size_t length, TextDirection, bool& isAfterExpansion); |
| + static unsigned expansionOpportunityCount(const LChar*, size_t length, TextDirection, bool& isAfterExpansion, bool distributeJustification = false); |
|
leviw_travelin_and_unemployed
2013/11/01 20:39:14
Yech, boolean params! Why not just use the TextJus
dw.im
2013/11/02 03:13:01
Because.... I only need to check text-justify is d
dw.im
2013/11/04 02:11:09
I used boolean parameter here again,
because incl
|
| + static unsigned expansionOpportunityCount(const UChar*, size_t length, TextDirection, bool& isAfterExpansion, bool distributeJustification = false); |
| static void setShouldUseSmoothing(bool); |
| static bool shouldUseSmoothing(); |