12016-04-22 Frederic Wang <fwang@igalia.com>
2
3 Minor refactoring in RenderMathMLOperator
4 https://bugs.webkit.org/show_bug.cgi?id=156906
5
6 Reviewed by NOBODY (OOPS!).
7
8 No new tests, this is only minor refactoring that does not change the code.
9
10 * rendering/mathml/RenderMathMLOperator.cpp:
11 (WebCore::RenderMathMLOperator::getGlyphAssemblyFallBack):
12 We rename the "state" integer to an "expected" enum indicating the next expected part.
13 (WebCore::RenderMathMLOperator::paintGlyph): We add a missing dot at the end of a sequence.
14 We also replace ceil(x+1) with ceil(x)+1 to get rid of the temporary variable.
15