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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2161683002: Add LayoutLocale class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test stability Created 4 years, 5 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index aec7897bd7a05b7d2ddeb79e0ff2b82a5640f26b..b68adb08ad6ff8ad983ea0da339ba0f05e95788a 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -107,6 +107,7 @@ class CSSTransitionData;
class CSSVariableData;
class Font;
class FontMetrics;
+class Hyphenation;
class RotateTransformOperation;
class ScaleTransformOperation;
class ShadowList;
@@ -888,7 +889,7 @@ public:
const AtomicString& highlight() const { return m_rareInheritedData->highlight; }
Hyphens getHyphens() const { return static_cast<Hyphens>(m_rareInheritedData->hyphens); }
const AtomicString& hyphenationString() const { return m_rareInheritedData->hyphenationString; }
- const AtomicString& locale() const { return getFontDescription().locale(false); }
+ const AtomicString& locale() const { return LayoutLocale::localeString(getFontDescription().locale()); }
EResize resize() const { return static_cast<EResize>(m_rareNonInheritedData->m_resize); }
bool hasInlinePaginationAxis() const
{
@@ -1622,6 +1623,7 @@ public:
QuotesData* quotes() const { return m_rareInheritedData->quotes.get(); }
void setQuotes(PassRefPtr<QuotesData>);
+ Hyphenation* getHyphenation() const;
const AtomicString& hyphenString() const;
bool inheritedEqual(const ComputedStyle&) const;

Powered by Google App Engine
This is Rietveld 408576698