Chromium Code Reviews| Index: third_party/WebKit/Source/platform/LayoutLocale.h |
| diff --git a/third_party/WebKit/Source/platform/LayoutLocale.h b/third_party/WebKit/Source/platform/LayoutLocale.h |
| index a4bc22c81ec50b56b5ec4829b01d6190c929b0d7..83d10c71c9633dd445f3be3f70e6fe50f898ca7a 100644 |
| --- a/third_party/WebKit/Source/platform/LayoutLocale.h |
| +++ b/third_party/WebKit/Source/platform/LayoutLocale.h |
| @@ -42,7 +42,7 @@ public: |
| UScriptCode scriptForHan() const; |
| bool hasScriptForHan() const; |
| static const LayoutLocale* localeForHan(const LayoutLocale*); |
| - static void setLocaleForHan(const LayoutLocale*); |
| + static void InvalidateLocaleForHan() { s_defaultForHanComputed = false; } |
|
drott
2016/08/08 15:16:37
lowercase first letter => invalidateLocaleForHan()
kojii
2016/08/08 15:33:54
Thanks for catching, confused with Chromium style.
|
| const char* localeForHanForSkFontMgr() const; |
| Hyphenation* getHyphenation() const; |
| @@ -55,6 +55,7 @@ private: |
| explicit LayoutLocale(const AtomicString&); |
| void computeScriptForHan() const; |
| + static void computeLocaleForHan(); |
| AtomicString m_string; |
| mutable CString m_stringForSkFontMgr; |