summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-02-02 18:31:32 +0000
committerSteve Block <steveblock@google.com>2010-02-04 15:07:00 +0000
commit9436923afbaf725afc7f71307ebc992c0c7ee1fa (patch)
tree2a21360220c84cfc6b99885aeef8563728581573 /WebCore/rendering
parent1198b35477e381f4af724f65d426996ea16716de (diff)
downloadexternal_webkit-9436923afbaf725afc7f71307ebc992c0c7ee1fa.zip
external_webkit-9436923afbaf725afc7f71307ebc992c0c7ee1fa.tar.gz
external_webkit-9436923afbaf725afc7f71307ebc992c0c7ee1fa.tar.bz2
Merge webkit.org at r54127 : Fix merge conflict in break_lines.cpp
See http://trac.webkit.org/changeset/53839 Change-Id: I123e8296c4b6bcfa4abd70ef67f9db14275bdf4c
Diffstat (limited to 'WebCore/rendering')
-rw-r--r--WebCore/rendering/break_lines.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/WebCore/rendering/break_lines.cpp b/WebCore/rendering/break_lines.cpp
index bbd86eb..4b6c0aa 100644
--- a/WebCore/rendering/break_lines.cpp
+++ b/WebCore/rendering/break_lines.cpp
@@ -70,22 +70,19 @@ static inline bool shouldBreakAfter(UChar ch, UChar nextCh)
// For a question mark preceding a non-ASCII characters, defer to the Unicode algorithm by returning false.
// For ASCII characters, use a lookup table for enhanced speed and for compatibility with Internet Explorer.
case '?':
-<<<<<<< HEAD
-#ifdef ANDROID_LAYOUT
- // as '/' is used in uri which is always long, we would like to break it
- case '/':
-#endif
-=======
return nextCh < internetExplorerLineBreaksAfterQuestionMarkTableSize && internetExplorerLineBreaksAfterQuestionMarkTable[nextCh];
// Internet Explorer always allows breaking after a hyphen.
case '-':
->>>>>>> webkit.org at r54127
case softHyphen:
// FIXME: cases for ideographicComma and ideographicFullStop are a workaround for an issue in Unicode 5.0
// which is likely to be resolved in Unicode 5.1 <http://bugs.webkit.org/show_bug.cgi?id=17411>.
// We may want to remove or conditionalize this workaround at some point.
case ideographicComma:
case ideographicFullStop:
+#ifdef ANDROID_LAYOUT
+ // as '/' is used in uri which is always long, we would like to break it
+ case '/':
+#endif
return true;
default:
return false;