summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/text/BidiContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/text/BidiContext.cpp')
-rw-r--r--WebCore/platform/text/BidiContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/text/BidiContext.cpp b/WebCore/platform/text/BidiContext.cpp
index 546571e..59db7bd 100644
--- a/WebCore/platform/text/BidiContext.cpp
+++ b/WebCore/platform/text/BidiContext.cpp
@@ -30,7 +30,7 @@ using namespace WTF::Unicode;
PassRefPtr<BidiContext> BidiContext::create(unsigned char level, Direction direction, bool override, BidiContext* parent)
{
- ASSERT(direction == level % 2 ? RightToLeft : LeftToRight);
+ ASSERT(direction == (level % 2 ? RightToLeft : LeftToRight));
if (parent)
return adoptRef(new BidiContext(level, direction, override, parent));