Index: Source/platform/text/BidiResolver.h |
diff --git a/Source/platform/text/BidiResolver.h b/Source/platform/text/BidiResolver.h |
index a8660cd52bdbeea688a4858081f3c15ab70e5d18..97d3ad496f3362ce5ad5805fc17bb2b91e2be225 100644 |
--- a/Source/platform/text/BidiResolver.h |
+++ b/Source/platform/text/BidiResolver.h |
@@ -199,7 +199,11 @@ public: |
void setDir(WTF::Unicode::Direction d) { m_direction = d; } |
const BidiStatus& status() const { return m_status; } |
- void setStatus(const BidiStatus s) { m_status = s; } |
+ void setStatus(const BidiStatus s) |
+ { |
+ ASSERT(s.context); |
+ m_status = s; |
+ } |
MidpointState<Iterator>& midpointState() { return m_midpointState; } |