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

Unified Diff: Source/core/rendering/RenderText.cpp

Issue 50293006: Enable correct behaviour for deleting regional indicator symbols on Android OS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698