Title: [202569] trunk/Source/WebCore
- Revision
- 202569
- Author
- [email protected]
- Date
- 2016-06-28 08:36:13 -0700 (Tue, 28 Jun 2016)
Log Message
Remove anonymous in renderName for all MathML renderers but RenderMathMLOperator
https://bugs.webkit.org/show_bug.cgi?id=159114
Patch by Frederic Wang <[email protected]> on 2016-06-28
Reviewed by Martin Robinson.
After r202420, the only anonymous MathML renderers are the RenderMathMLOperators created by
the mfenced element. Hence we remove the special case for anonymous in the renderName
implementation of most MathML renderers.
No new tests, behavior unchanged.
* rendering/mathml/RenderMathMLRow.h:
* rendering/mathml/RenderMathMLSpace.h:
* rendering/mathml/RenderMathMLToken.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (202568 => 202569)
--- trunk/Source/WebCore/ChangeLog 2016-06-28 15:33:49 UTC (rev 202568)
+++ trunk/Source/WebCore/ChangeLog 2016-06-28 15:36:13 UTC (rev 202569)
@@ -1,3 +1,20 @@
+2016-06-28 Frederic Wang <[email protected]>
+
+ Remove anonymous in renderName for all MathML renderers but RenderMathMLOperator
+ https://bugs.webkit.org/show_bug.cgi?id=159114
+
+ Reviewed by Martin Robinson.
+
+ After r202420, the only anonymous MathML renderers are the RenderMathMLOperators created by
+ the mfenced element. Hence we remove the special case for anonymous in the renderName
+ implementation of most MathML renderers.
+
+ No new tests, behavior unchanged.
+
+ * rendering/mathml/RenderMathMLRow.h:
+ * rendering/mathml/RenderMathMLSpace.h:
+ * rendering/mathml/RenderMathMLToken.h:
+
2016-06-28 Adam Bergkvist <[email protected]>
WebRTC: Robustify 'this' type check in RTCPeerConnection JS built-ins
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h (202568 => 202569)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h 2016-06-28 15:33:49 UTC (rev 202568)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h 2016-06-28 15:36:13 UTC (rev 202569)
@@ -53,7 +53,7 @@
private:
bool isRenderMathMLRow() const final { return true; }
- const char* renderName() const override { return isAnonymous() ? "RenderMathMLRow (anonymous)" : "RenderMathMLRow"; }
+ const char* renderName() const override { return "RenderMathMLRow"; }
};
} // namespace WebCore
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h (202568 => 202569)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h 2016-06-28 15:33:49 UTC (rev 202568)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h 2016-06-28 15:36:13 UTC (rev 202569)
@@ -39,7 +39,7 @@
MathMLTextElement& element() { return static_cast<MathMLTextElement&>(nodeForNonAnonymous()); }
private:
- const char* renderName() const final { return isAnonymous() ? "RenderMathMLSpace (anonymous)" : "RenderMathMLSpace"; }
+ const char* renderName() const final { return "RenderMathMLSpace"; }
bool isRenderMathMLSpace() const final { return true; }
void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
bool isChildAllowed(const RenderObject&, const RenderStyle&) const final { return false; }
Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h (202568 => 202569)
--- trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h 2016-06-28 15:33:49 UTC (rev 202568)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h 2016-06-28 15:36:13 UTC (rev 202569)
@@ -54,7 +54,7 @@
private:
bool isRenderMathMLToken() const final { return true; }
- const char* renderName() const override { return isAnonymous() ? "RenderMathMLToken (anonymous)" : "RenderMathMLToken"; }
+ const char* renderName() const override { return "RenderMathMLToken"; }
void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
void updateMathVariantGlyph();
void setMathVariantGlyphDirty()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes