 Chromium Code Reviews
 Chromium Code Reviews Issue 50293006:
  Enable correct behaviour for deleting regional indicator symbols on Android OS  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 50293006:
  Enable correct behaviour for deleting regional indicator symbols on Android OS  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/core/rendering/RenderText.cpp | 
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp | 
| index eeade49cde475868932d169991e172274242dabc..9f021e6ff34bd8410b96c3f6e8638b3146c6d471 100644 | 
| --- a/Source/core/rendering/RenderText.cpp | 
| +++ b/Source/core/rendering/RenderText.cpp | 
| @@ -1653,7 +1653,7 @@ int RenderText::previousOffset(int current) const | 
| return result; | 
| } | 
| -#if OS(MACOSX) || OS(LINUX) | 
| +#if OS(MACOSX) || OS(POSIX) | 
| 
lgombos
2013/11/01 19:13:20
This can and should be changed to #if OS(POSIX).
 | 
| #define HANGUL_CHOSEONG_START (0x1100) | 
| #define HANGUL_CHOSEONG_END (0x115F) | 
| @@ -1695,7 +1695,7 @@ inline bool isRegionalIndicator(UChar32 c) | 
| int RenderText::previousOffsetForBackwardDeletion(int current) const | 
| { | 
| -#if OS(MACOSX) || OS(LINUX) | 
| +#if OS(MACOSX) || OS(POSIX) | 
| ASSERT(m_text); | 
| StringImpl& text = *m_text.impl(); | 
| UChar32 character; | 
| @@ -1779,7 +1779,7 @@ int RenderText::previousOffsetForBackwardDeletion(int current) const | 
| return current; | 
| #else | 
| - // Platforms other than Mac or Linux delete by one code point. | 
| + // Platforms other than Mac or Unix delete by one code point. | 
| if (U16_IS_TRAIL(m_text[--current])) | 
| --current; | 
| if (current < 0) |