Title: [159011] trunk/Source/WebCore
- Revision
- 159011
- Author
- [email protected]
- Date
- 2013-11-09 21:48:50 -0800 (Sat, 09 Nov 2013)
Log Message
RenderMathMLFenced should pass around operators in tighter types.
<https://webkit.org/b/124115>
Store operator renderers in RenderMathMLOperator pointers instead
of passing them around as RenderObject.
Reviewed by Martin Robinson.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (159010 => 159011)
--- trunk/Source/WebCore/ChangeLog 2013-11-10 05:47:40 UTC (rev 159010)
+++ trunk/Source/WebCore/ChangeLog 2013-11-10 05:48:50 UTC (rev 159011)
@@ -1,5 +1,15 @@
2013-11-09 Andreas Kling <[email protected]>
+ RenderMathMLFenced should pass around operators in tighter types.
+ <https://webkit.org/b/124115>
+
+ Store operator renderers in RenderMathMLOperator pointers instead
+ of passing them around as RenderObject.
+
+ Reviewed by Martin Robinson.
+
+2013-11-09 Andreas Kling <[email protected]>
+
Use RENDER_OBJECT_TYPE_CASTS for more types.
<https://webkit.org/b/124112>
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp (159010 => 159011)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp 2013-11-10 05:47:40 UTC (rev 159010)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp 2013-11-10 05:48:50 UTC (rev 159011)
@@ -49,7 +49,7 @@
: RenderMathMLRow(element, std::move(style))
, m_open(OpeningBraceChar)
, m_close(ClosingBraceChar)
- , m_closeFenceRenderer(0)
+ , m_closeFenceRenderer(nullptr)
{
}
@@ -114,7 +114,7 @@
// FIXME: Adding or removing a child should possibly cause all later separators to shift places if they're different,
// as later child positions change by +1 or -1.
- RenderObject* separatorRenderer = 0;
+ RenderMathMLOperator* separatorRenderer = nullptr;
if (m_separators.get()) {
unsigned int count = 0;
for (Node* position = child->node(); position; position = position->previousSibling()) {
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h (159010 => 159011)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h 2013-11-10 05:47:40 UTC (rev 159010)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLFenced.h 2013-11-10 05:48:50 UTC (rev 159011)
@@ -54,7 +54,7 @@
UChar m_close;
RefPtr<StringImpl> m_separators;
- RenderObject* m_closeFenceRenderer;
+ RenderMathMLOperator* m_closeFenceRenderer;
};
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes