未验证 提交 a57f5a1a 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[dwrite] Minor, enable the original code assertions

上级 9925030f
......@@ -488,14 +488,14 @@ protected:
mCurrentRun = run;
return;
}
// NS_NOTREACHED ("We should always be able to find the text position in one of our runs");
assert (0); // We should always be able to find the text position in one of our runs
}
void SplitCurrentRun (uint32_t splitPosition)
{
if (!mCurrentRun)
{
//NS_ASSERTION (false, "SplitCurrentRun called without current run.");
assert (0); // SplitCurrentRun called without current run
// Shouldn't be calling this when no current run is set!
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册