<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[173866] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/173866">173866</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2014-09-22 23:00:35 -0700 (Mon, 22 Sep 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Unreviewed build fix after <a href="http://trac.webkit.org/projects/webkit/changeset/173859">r173859</a>.
Partial revert to fix debug build after <a href="http://trac.webkit.org/projects/webkit/changeset/173859">r173859</a>.
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::remoteSVGRootElement):
* html/HTMLFrameOwnerElement.cpp:
(WebCore::HTMLFrameOwnerElement::getSVGDocument):
* page/EventHandler.cpp:
(WebCore::EventHandler::handleMousePressEvent):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::handleMouseReleaseEvent):
* page/Frame.cpp:
(WebCore::Frame::setPageAndTextZoomFactors):
* page/FrameView.cpp:
(WebCore::FrameView::scrollToAnchor):
* rendering/svg/RenderSVGBlock.h:
(WebCore::RenderSVGBlock::graphicsElement):
* rendering/svg/RenderSVGGradientStop.cpp:
(WebCore::RenderSVGGradientStop::gradientElement):
* rendering/svg/RenderSVGInline.h:
(WebCore::RenderSVGInline::graphicsElement):
* rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::pathOnlyClipping):
* rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::transformOnNonScalingStroke):
* rendering/svg/RenderSVGShape.h:
(WebCore::RenderSVGShape::graphicsElement):
* rendering/svg/RenderSVGTransformableContainer.h:
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending):
* rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::operator<<):
* rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):
* rendering/svg/SVGResources.cpp:
(WebCore::targetReferenceFromResource):
* svg/SVGAElement.cpp:
(WebCore::SVGAElement::defaultEventHandler):
* svg/SVGAnimateElement.cpp:
(WebCore::SVGAnimateElement::calculateAnimatedValue):
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::currentValuesForValuesAnimation):
* svg/SVGElement.cpp:
(WebCore::SVGElement::getBoundingBox):
* svg/SVGLinearGradientElement.cpp:
(WebCore::SVGLinearGradientElement::collectGradientAttributes):
* svg/SVGLocatable.cpp:
(WebCore::SVGLocatable::getTransformToElement):
* svg/SVGPolyElement.cpp:
(WebCore::SVGPolyElement::synchronizePoints):
(WebCore::SVGPolyElement::lookupOrCreatePointsWrapper):
* svg/SVGRadialGradientElement.cpp:
(WebCore::SVGRadialGradientElement::collectGradientAttributes):
* svg/SVGTextContentElement.cpp:
(WebCore::SVGTextContentElement::synchronizeTextLength):
(WebCore::SVGTextContentElement::lookupOrCreateTextLengthWrapper):
(WebCore::SVGTextContentElement::elementFromRenderer):
* svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::toClipPath):
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::connectConditions):
(WebCore::SVGSMILElement::disconnectConditions):
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::hasSingleSecurityOrigin):
(WebCore::SVGImage::setContainerSize):
(WebCore::SVGImage::containerSize):
(WebCore::SVGImage::embeddedContentBox):
(WebCore::SVGImage::hasRelativeWidth):
(WebCore::SVGImage::hasRelativeHeight):
(WebCore::SVGImage::computeIntrinsicDimensions):
(WebCore::SVGImage::startAnimation):
(WebCore::SVGImage::stopAnimation):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameOwnerElementcpp">trunk/Source/WebCore/html/HTMLFrameOwnerElement.cpp</a></li>
<li><a href="#trunkSourceWebCorepageEventHandlercpp">trunk/Source/WebCore/page/EventHandler.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFramecpp">trunk/Source/WebCore/page/Frame.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameViewcpp">trunk/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGBlockh">trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGGradientStopcpp">trunk/Source/WebCore/rendering/svg/RenderSVGGradientStop.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGInlineh">trunk/Source/WebCore/rendering/svg/RenderSVGInline.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGResourceClippercpp">trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGResourceContainercpp">trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGShapeh">trunk/Source/WebCore/rendering/svg/RenderSVGShape.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGTransformableContainerh">trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderSupportcpp">trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderTreeAsTextcpp">trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderingContextcpp">trunk/Source/WebCore/rendering/svg/SVGRenderingContext.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGResourcescpp">trunk/Source/WebCore/rendering/svg/SVGResources.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAElementcpp">trunk/Source/WebCore/svg/SVGAElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAnimateElementcpp">trunk/Source/WebCore/svg/SVGAnimateElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAnimationElementcpp">trunk/Source/WebCore/svg/SVGAnimationElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGElementcpp">trunk/Source/WebCore/svg/SVGElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLinearGradientElementcpp">trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLocatablecpp">trunk/Source/WebCore/svg/SVGLocatable.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPolyElementcpp">trunk/Source/WebCore/svg/SVGPolyElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRadialGradientElementcpp">trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextContentElementcpp">trunk/Source/WebCore/svg/SVGTextContentElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGUseElementcpp">trunk/Source/WebCore/svg/SVGUseElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvganimationSVGSMILElementcpp">trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvggraphicsSVGImagecpp">trunk/Source/WebCore/svg/graphics/SVGImage.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/ChangeLog        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -1,3 +1,79 @@
</span><ins>+2014-09-22 Christophe Dumez <cdumez@apple.com>
+
+ Unreviewed build fix after r173859.
+
+ Partial revert to fix debug build after r173859.
+
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::remoteSVGRootElement):
+ * html/HTMLFrameOwnerElement.cpp:
+ (WebCore::HTMLFrameOwnerElement::getSVGDocument):
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleMousePressEvent):
+ (WebCore::EventHandler::handleMouseMoveEvent):
+ (WebCore::EventHandler::handleMouseReleaseEvent):
+ * page/Frame.cpp:
+ (WebCore::Frame::setPageAndTextZoomFactors):
+ * page/FrameView.cpp:
+ (WebCore::FrameView::scrollToAnchor):
+ * rendering/svg/RenderSVGBlock.h:
+ (WebCore::RenderSVGBlock::graphicsElement):
+ * rendering/svg/RenderSVGGradientStop.cpp:
+ (WebCore::RenderSVGGradientStop::gradientElement):
+ * rendering/svg/RenderSVGInline.h:
+ (WebCore::RenderSVGInline::graphicsElement):
+ * rendering/svg/RenderSVGResourceClipper.cpp:
+ (WebCore::RenderSVGResourceClipper::pathOnlyClipping):
+ * rendering/svg/RenderSVGResourceContainer.cpp:
+ (WebCore::RenderSVGResourceContainer::transformOnNonScalingStroke):
+ * rendering/svg/RenderSVGShape.h:
+ (WebCore::RenderSVGShape::graphicsElement):
+ * rendering/svg/RenderSVGTransformableContainer.h:
+ * rendering/svg/SVGRenderSupport.cpp:
+ (WebCore::SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending):
+ * rendering/svg/SVGRenderTreeAsText.cpp:
+ (WebCore::operator<<):
+ * rendering/svg/SVGRenderingContext.cpp:
+ (WebCore::SVGRenderingContext::prepareToRenderSVGContent):
+ * rendering/svg/SVGResources.cpp:
+ (WebCore::targetReferenceFromResource):
+ * svg/SVGAElement.cpp:
+ (WebCore::SVGAElement::defaultEventHandler):
+ * svg/SVGAnimateElement.cpp:
+ (WebCore::SVGAnimateElement::calculateAnimatedValue):
+ * svg/SVGAnimationElement.cpp:
+ (WebCore::SVGAnimationElement::currentValuesForValuesAnimation):
+ * svg/SVGElement.cpp:
+ (WebCore::SVGElement::getBoundingBox):
+ * svg/SVGLinearGradientElement.cpp:
+ (WebCore::SVGLinearGradientElement::collectGradientAttributes):
+ * svg/SVGLocatable.cpp:
+ (WebCore::SVGLocatable::getTransformToElement):
+ * svg/SVGPolyElement.cpp:
+ (WebCore::SVGPolyElement::synchronizePoints):
+ (WebCore::SVGPolyElement::lookupOrCreatePointsWrapper):
+ * svg/SVGRadialGradientElement.cpp:
+ (WebCore::SVGRadialGradientElement::collectGradientAttributes):
+ * svg/SVGTextContentElement.cpp:
+ (WebCore::SVGTextContentElement::synchronizeTextLength):
+ (WebCore::SVGTextContentElement::lookupOrCreateTextLengthWrapper):
+ (WebCore::SVGTextContentElement::elementFromRenderer):
+ * svg/SVGUseElement.cpp:
+ (WebCore::SVGUseElement::toClipPath):
+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::SVGSMILElement::connectConditions):
+ (WebCore::SVGSMILElement::disconnectConditions):
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::hasSingleSecurityOrigin):
+ (WebCore::SVGImage::setContainerSize):
+ (WebCore::SVGImage::containerSize):
+ (WebCore::SVGImage::embeddedContentBox):
+ (WebCore::SVGImage::hasRelativeWidth):
+ (WebCore::SVGImage::hasRelativeHeight):
+ (WebCore::SVGImage::computeIntrinsicDimensions):
+ (WebCore::SVGImage::startAnimation):
+ (WebCore::SVGImage::stopAnimation):
+
</ins><span class="cx"> 2014-09-22 Simon Fraser <simon.fraser@apple.com>
</span><span class="cx">
</span><span class="cx"> Ensure that layout is up-to-date before hit-testing via RenderView
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -2885,7 +2885,7 @@
</span><span class="cx"> if (!document || !document->isSVGDocument())
</span><span class="cx"> return nullptr;
</span><span class="cx">
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(*document).rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(*document).rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return nullptr;
</span><span class="cx"> RenderObject* rendererRoot = rootElement->renderer();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameOwnerElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameOwnerElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameOwnerElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/html/HTMLFrameOwnerElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> {
</span><span class="cx"> Document* document = contentDocument();
</span><span class="cx"> if (document && document->isSVGDocument())
</span><del>- return downcast<SVGDocument>(document);
</del><ins>+ return toSVGDocument(document);
</ins><span class="cx"> // Spec: http://www.w3.org/TR/SVG/struct.html#InterfaceGetSVGDocument
</span><span class="cx"> ec = NOT_SUPPORTED_ERR;
</span><span class="cx"> return nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCorepageEventHandlercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/EventHandler.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/EventHandler.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/page/EventHandler.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -760,10 +760,10 @@
</span><span class="cx"> return true;
</span><span class="cx">
</span><span class="cx"> if (m_frame.document()->isSVGDocument()
</span><del>- && downcast<SVGDocument>(*m_frame.document()).zoomAndPanEnabled()) {
</del><ins>+ && toSVGDocument(*m_frame.document()).zoomAndPanEnabled()) {
</ins><span class="cx"> if (event.event().shiftKey() && singleClick) {
</span><span class="cx"> m_svgPan = true;
</span><del>- downcast<SVGDocument>(*m_frame.document()).startPan(m_frame.view()->windowToContents(event.event().position()));
</del><ins>+ toSVGDocument(*m_frame.document()).startPan(m_frame.view()->windowToContents(event.event().position()));
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="lines">@@ -1893,7 +1893,7 @@
</span><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> if (m_svgPan) {
</span><del>- downcast<SVGDocument>(m_frame.document())->updatePan(m_frame.view()->windowToContents(m_lastKnownMousePosition));
</del><ins>+ toSVGDocument(m_frame.document())->updatePan(m_frame.view()->windowToContents(m_lastKnownMousePosition));
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2037,7 +2037,7 @@
</span><span class="cx">
</span><span class="cx"> if (m_svgPan) {
</span><span class="cx"> m_svgPan = false;
</span><del>- downcast<SVGDocument>(m_frame.document())->updatePan(m_frame.view()->windowToContents(m_lastKnownMousePosition));
</del><ins>+ toSVGDocument(m_frame.document())->updatePan(m_frame.view()->windowToContents(m_lastKnownMousePosition));
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorepageFramecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Frame.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Frame.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/page/Frame.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -968,7 +968,7 @@
</span><span class="cx"> // Respect SVGs zoomAndPan="disabled" property in standalone SVG documents.
</span><span class="cx"> // FIXME: How to handle compound documents + zoomAndPan="disabled"? Needs SVG WG clarification.
</span><span class="cx"> if (document->isSVGDocument()) {
</span><del>- if (!downcast<SVGDocument>(*document).zoomAndPanEnabled())
</del><ins>+ if (!toSVGDocument(*document).zoomAndPanEnabled())
</ins><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameView.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameView.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/page/FrameView.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -1961,7 +1961,7 @@
</span><span class="cx"> frame().document()->setCSSTarget(anchorElement);
</span><span class="cx">
</span><span class="cx"> if (frame().document()->isSVGDocument()) {
</span><del>- if (SVGSVGElement* svg = downcast<SVGDocument>(*frame().document()).rootElement()) {
</del><ins>+ if (SVGSVGElement* svg = toSVGDocument(*frame().document()).rootElement()) {
</ins><span class="cx"> svg->setupInitialView(name, anchorElement);
</span><span class="cx"> if (!anchorElement)
</span><span class="cx"> return true;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGBlockh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual LayoutRect visualOverflowRect() const override final;
</span><span class="cx">
</span><del>- SVGGraphicsElement& graphicsElement() const { return downcast<SVGGraphicsElement>(nodeForNonAnonymous()); }
</del><ins>+ SVGGraphicsElement& graphicsElement() const { return toSVGGraphicsElement(nodeForNonAnonymous()); }
</ins><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> RenderSVGBlock(SVGGraphicsElement&, PassRef<RenderStyle>);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGGradientStopcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGGradientStop.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGGradientStop.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGGradientStop.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> SVGGradientElement* RenderSVGGradientStop::gradientElement()
</span><span class="cx"> {
</span><span class="cx"> if (element().parentElement() && isSVGGradientElement(*element().parentElement()))
</span><del>- return &downcast<SVGGradientElement>(*element().parentElement());
</del><ins>+ return &toSVGGradientElement(*element().parentElement());
</ins><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGInlineh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGInline.h (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGInline.h        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGInline.h        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> public:
</span><span class="cx"> RenderSVGInline(SVGGraphicsElement&, PassRef<RenderStyle>);
</span><span class="cx">
</span><del>- SVGGraphicsElement& graphicsElement() const { return downcast<SVGGraphicsElement>(nodeForNonAnonymous()); }
</del><ins>+ SVGGraphicsElement& graphicsElement() const { return toSVGGraphicsElement(nodeForNonAnonymous()); }
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> void element() const = delete;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGResourceClippercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> if (!childNode->isSVGElement() || !downcast<SVGElement>(*childNode).isSVGGraphicsElement())
</span><span class="cx"> continue;
</span><del>- SVGGraphicsElement& styled = downcast<SVGGraphicsElement>(*childNode);
</del><ins>+ SVGGraphicsElement& styled = toSVGGraphicsElement(*childNode);
</ins><span class="cx"> const RenderStyle& style = renderer->style();
</span><span class="cx"> if (style.display() == NONE || style.visibility() != VISIBLE)
</span><span class="cx"> continue;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGResourceContainercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -212,7 +212,7 @@
</span><span class="cx"> if (!object->isSVGShape())
</span><span class="cx"> return resourceTransform;
</span><span class="cx">
</span><del>- SVGGraphicsElement* element = downcast<SVGGraphicsElement>(object->node());
</del><ins>+ SVGGraphicsElement* element = toSVGGraphicsElement(object->node());
</ins><span class="cx"> AffineTransform transform = element->getScreenCTM(SVGLocatable::DisallowStyleUpdate);
</span><span class="cx"> transform *= resourceTransform;
</span><span class="cx"> return transform;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGShapeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGShape.h (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGShape.h        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGShape.h        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> RenderSVGShape(SVGGraphicsElement&, PassRef<RenderStyle>, Path*, bool);
</span><span class="cx"> virtual ~RenderSVGShape();
</span><span class="cx">
</span><del>- SVGGraphicsElement& graphicsElement() const { return downcast<SVGGraphicsElement>(RenderSVGModelObject::element()); }
</del><ins>+ SVGGraphicsElement& graphicsElement() const { return toSVGGraphicsElement(RenderSVGModelObject::element()); }
</ins><span class="cx">
</span><span class="cx"> void setNeedsShapeUpdate() { m_needsShapeUpdate = true; }
</span><span class="cx"> virtual void setNeedsBoundariesUpdate() override final { m_needsBoundariesUpdate = true; }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGTransformableContainerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> class RenderSVGTransformableContainer final : public RenderSVGContainer {
</span><span class="cx"> public:
</span><span class="cx"> RenderSVGTransformableContainer(SVGGraphicsElement&, PassRef<RenderStyle>);
</span><del>- SVGGraphicsElement& graphicsElement() { return downcast<SVGGraphicsElement>(RenderSVGContainer::element()); }
</del><ins>+ SVGGraphicsElement& graphicsElement() { return toSVGGraphicsElement(RenderSVGContainer::element()); }
</ins><span class="cx">
</span><span class="cx"> virtual bool isSVGTransformableContainer() const { return true; }
</span><span class="cx"> virtual const AffineTransform& localToParentTransform() const { return m_localTransform; }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderSupportcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -464,7 +464,7 @@
</span><span class="cx"> continue;
</span><span class="cx">
</span><span class="cx"> if (ancestor->computedStyle()->svgStyle().hasMasker())
</span><del>- downcast<SVGGraphicsElement>(*ancestor).setShouldIsolateBlending(maskedAncestorShouldIsolateBlending);
</del><ins>+ toSVGGraphicsElement(*ancestor).setShouldIsolateBlending(maskedAncestorShouldIsolateBlending);
</ins><span class="cx">
</span><span class="cx"> return;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderTreeAsTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -344,7 +344,7 @@
</span><span class="cx"> writeNameValuePair(ts, "cy", element.cy().value(lengthContext));
</span><span class="cx"> writeNameValuePair(ts, "r", element.r().value(lengthContext));
</span><span class="cx"> } else if (svgElement.hasTagName(SVGNames::polygonTag) || svgElement.hasTagName(SVGNames::polylineTag)) {
</span><del>- const SVGPolyElement& element = downcast<SVGPolyElement>(svgElement);
</del><ins>+ const SVGPolyElement& element = toSVGPolyElement(svgElement);
</ins><span class="cx"> writeNameAndQuotedValue(ts, "points", element.pointList().valueAsString());
</span><span class="cx"> } else if (isSVGPathElement(svgElement)) {
</span><span class="cx"> const SVGPathElement& element = downcast<SVGPathElement>(svgElement);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderingContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderingContext.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderingContext.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderingContext.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -106,7 +106,7 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(CSS_COMPOSITING)
</span><span class="cx"> if (svgStyle.hasMasker() && downcast<SVGElement>(renderer.element())->isSVGGraphicsElement()) {
</span><del>- SVGGraphicsElement& graphicsElement = downcast<SVGGraphicsElement>(*renderer.element());
</del><ins>+ SVGGraphicsElement& graphicsElement = toSVGGraphicsElement(*renderer.element());
</ins><span class="cx"> isolateMaskForBlending = graphicsElement.shouldIsolateBlending();
</span><span class="cx"> }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGResourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGResources.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGResources.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/rendering/svg/SVGResources.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx"> if (isSVGPatternElement(element))
</span><span class="cx"> target = downcast<SVGPatternElement>(element).href();
</span><span class="cx"> else if (isSVGGradientElement(element))
</span><del>- target = downcast<SVGGradientElement>(element).href();
</del><ins>+ target = toSVGGradientElement(element).href();
</ins><span class="cx"> else if (isSVGFilterElement(element))
</span><span class="cx"> target = downcast<SVGFilterElement>(element).href();
</span><span class="cx"> else
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGAElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx"> if (url[0] == '#') {
</span><span class="cx"> Element* targetElement = treeScope().getElementById(url.substringSharingImpl(1));
</span><span class="cx"> if (targetElement && isSVGSMILElement(*targetElement)) {
</span><del>- downcast<SVGSMILElement>(*targetElement).beginByLinkActivation();
</del><ins>+ toSVGSMILElement(*targetElement).beginByLinkActivation();
</ins><span class="cx"> event->setDefaultHandled();
</span><span class="cx"> return;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAnimateElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAnimateElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAnimateElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGAnimateElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -110,7 +110,7 @@
</span><span class="cx"> ASSERT(m_fromType->type() == m_animatedPropertyType);
</span><span class="cx"> ASSERT(m_toType);
</span><span class="cx">
</span><del>- SVGAnimateElement& resultAnimationElement = downcast<SVGAnimateElement>(*resultElement);
</del><ins>+ SVGAnimateElement& resultAnimationElement = toSVGAnimateElement(*resultElement);
</ins><span class="cx"> ASSERT(resultAnimationElement.m_animatedType);
</span><span class="cx"> ASSERT(resultAnimationElement.m_animatedPropertyType == m_animatedPropertyType);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAnimationElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAnimationElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAnimationElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGAnimationElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -508,7 +508,7 @@
</span><span class="cx">
</span><span class="cx"> CalcMode calcMode = this->calcMode();
</span><span class="cx"> if (hasTagName(SVGNames::animateTag) || hasTagName(SVGNames::animateColorTag)) {
</span><del>- AnimatedPropertyType attributeType = downcast<SVGAnimateElement>(*this).determineAnimatedPropertyType(targetElement());
</del><ins>+ AnimatedPropertyType attributeType = toSVGAnimateElement(*this).determineAnimatedPropertyType(targetElement());
</ins><span class="cx"> // Fall back to discrete animations for Strings.
</span><span class="cx"> if (attributeType == AnimatedBoolean
</span><span class="cx"> || attributeType == AnimatedEnumeration
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -460,7 +460,7 @@
</span><span class="cx"> bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy)
</span><span class="cx"> {
</span><span class="cx"> if (isSVGGraphicsElement()) {
</span><del>- rect = downcast<SVGGraphicsElement>(*this).getBBox(styleUpdateStrategy);
</del><ins>+ rect = toSVGGraphicsElement(*this).getBBox(styleUpdateStrategy);
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> return false;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLinearGradientElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -174,7 +174,7 @@
</span><span class="cx"> // Respect xlink:href, take attributes from referenced element
</span><span class="cx"> Node* refNode = SVGURIReference::targetElementFromIRIString(current->href(), document());
</span><span class="cx"> if (refNode && isSVGGradientElement(*refNode)) {
</span><del>- current = downcast<SVGGradientElement>(refNode);
</del><ins>+ current = toSVGGradientElement(refNode);
</ins><span class="cx">
</span><span class="cx"> // Cycle detection
</span><span class="cx"> if (processedGradients.contains(current))
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLocatablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLocatable.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLocatable.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGLocatable.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx"> AffineTransform ctm = getCTM(styleUpdateStrategy);
</span><span class="cx">
</span><span class="cx"> if (target && target->isSVGGraphicsElement()) {
</span><del>- AffineTransform targetCTM = downcast<SVGGraphicsElement>(*target).getCTM(styleUpdateStrategy);
</del><ins>+ AffineTransform targetCTM = toSVGGraphicsElement(*target).getCTM(styleUpdateStrategy);
</ins><span class="cx"> if (!targetCTM.isInvertible()) {
</span><span class="cx"> ec = SVGException::SVG_MATRIX_NOT_INVERTABLE;
</span><span class="cx"> return ctm;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPolyElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPolyElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPolyElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGPolyElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx"> void SVGPolyElement::synchronizePoints(SVGElement* contextElement)
</span><span class="cx"> {
</span><span class="cx"> ASSERT(contextElement);
</span><del>- SVGPolyElement& ownerType = downcast<SVGPolyElement>(*contextElement);
</del><ins>+ SVGPolyElement& ownerType = toSVGPolyElement(*contextElement);
</ins><span class="cx"> if (!ownerType.m_points.shouldSynchronize)
</span><span class="cx"> return;
</span><span class="cx"> ownerType.m_points.synchronize(&ownerType, pointsPropertyInfo()->attributeName, ownerType.m_points.value.valueAsString());
</span><span class="lines">@@ -141,7 +141,7 @@
</span><span class="cx"> PassRefPtr<SVGAnimatedProperty> SVGPolyElement::lookupOrCreatePointsWrapper(SVGElement* contextElement)
</span><span class="cx"> {
</span><span class="cx"> ASSERT(contextElement);
</span><del>- SVGPolyElement& ownerType = downcast<SVGPolyElement>(*contextElement);
</del><ins>+ SVGPolyElement& ownerType = toSVGPolyElement(*contextElement);
</ins><span class="cx"> return SVGAnimatedProperty::lookupOrCreateWrapper<SVGPolyElement, SVGAnimatedPointList, SVGPointList>
</span><span class="cx"> (&ownerType, pointsPropertyInfo(), ownerType.m_points.value);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRadialGradientElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -192,7 +192,7 @@
</span><span class="cx"> // Respect xlink:href, take attributes from referenced element
</span><span class="cx"> Node* refNode = SVGURIReference::targetElementFromIRIString(current->href(), document());
</span><span class="cx"> if (refNode && isSVGGradientElement(*refNode)) {
</span><del>- current = downcast<SVGGradientElement>(refNode);
</del><ins>+ current = toSVGGradientElement(refNode);
</ins><span class="cx">
</span><span class="cx"> // Cycle detection
</span><span class="cx"> if (processedGradients.contains(current))
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextContentElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextContentElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextContentElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGTextContentElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> void SVGTextContentElement::synchronizeTextLength(SVGElement* contextElement)
</span><span class="cx"> {
</span><span class="cx"> ASSERT(contextElement);
</span><del>- SVGTextContentElement& ownerType = downcast<SVGTextContentElement>(*contextElement);
</del><ins>+ SVGTextContentElement& ownerType = toSVGTextContentElement(*contextElement);
</ins><span class="cx"> if (!ownerType.m_textLength.shouldSynchronize)
</span><span class="cx"> return;
</span><span class="cx"> AtomicString value(SVGPropertyTraits<SVGLength>::toString(ownerType.m_specifiedTextLength));
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx"> PassRefPtr<SVGAnimatedProperty> SVGTextContentElement::lookupOrCreateTextLengthWrapper(SVGElement* contextElement)
</span><span class="cx"> {
</span><span class="cx"> ASSERT(contextElement);
</span><del>- SVGTextContentElement& ownerType = downcast<SVGTextContentElement>(*contextElement);
</del><ins>+ SVGTextContentElement& ownerType = toSVGTextContentElement(*contextElement);
</ins><span class="cx"> return SVGAnimatedProperty::lookupOrCreateWrapper<SVGTextContentElement, SVGAnimatedLength, SVGLength>
</span><span class="cx"> (&ownerType, textLengthPropertyInfo(), ownerType.m_textLength.value);
</span><span class="cx"> }
</span><span class="lines">@@ -299,7 +299,7 @@
</span><span class="cx"> if (!element->isTextContent())
</span><span class="cx"> return nullptr;
</span><span class="cx">
</span><del>- return downcast<SVGTextContentElement>(element);
</del><ins>+ return toSVGTextContentElement(element);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGUseElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGUseElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGUseElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/SVGUseElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -552,7 +552,7 @@
</span><span class="cx"> // Spec: Indirect references are an error (14.3.5)
</span><span class="cx"> document().accessSVGExtensions()->reportError("Not allowed to use indirect reference in <clip-path>");
</span><span class="cx"> } else {
</span><del>- downcast<SVGGraphicsElement>(*node).toClipPath(path);
</del><ins>+ toSVGGraphicsElement(*node).toClipPath(path);
</ins><span class="cx"> // FIXME: Avoid manual resolution of x/y here. Its potentially harmful.
</span><span class="cx"> SVGLengthContext lengthContext(this);
</span><span class="cx"> path.translate(FloatSize(x().value(lengthContext), y().value(lengthContext)));
</span></span></pre></div>
<a id="trunkSourceWebCoresvganimationSVGSMILElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -540,7 +540,7 @@
</span><span class="cx"> condition.m_syncbase = nullptr;
</span><span class="cx"> continue;
</span><span class="cx"> }
</span><del>- downcast<SVGSMILElement>(*condition.m_syncbase).addTimeDependent(this);
</del><ins>+ toSVGSMILElement(*condition.m_syncbase).addTimeDependent(this);
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="lines">@@ -568,7 +568,7 @@
</span><span class="cx"> condition.m_eventListener = nullptr;
</span><span class="cx"> } else if (condition.m_type == Condition::Syncbase) {
</span><span class="cx"> if (condition.m_syncbase)
</span><del>- downcast<SVGSMILElement>(condition.m_syncbase.get())->removeTimeDependent(this);
</del><ins>+ toSVGSMILElement(condition.m_syncbase.get())->removeTimeDependent(this);
</ins><span class="cx"> }
</span><span class="cx"> condition.m_syncbase = nullptr;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvggraphicsSVGImagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/graphics/SVGImage.cpp (173865 => 173866)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/graphics/SVGImage.cpp        2014-09-23 04:39:35 UTC (rev 173865)
+++ trunk/Source/WebCore/svg/graphics/SVGImage.cpp        2014-09-23 06:00:35 UTC (rev 173866)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return true;
</span><span class="cx">
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return true;
</span><span class="cx">
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> if (!m_page || !usesContainerSize())
</span><span class="cx"> return;
</span><span class="cx">
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return;
</span><span class="cx"> RenderSVGRoot* renderer = toRenderSVGRoot(rootElement->renderer());
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return IntSize();
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return IntSize();
</span><span class="cx">
</span><span class="lines">@@ -264,7 +264,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return 0;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return 0;
</span><span class="cx"> return toRenderBox(rootElement->renderer());
</span><span class="lines">@@ -281,7 +281,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return false;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return false;
</span><span class="cx"> return rootElement->intrinsicWidth().isPercent();
</span><span class="lines">@@ -291,7 +291,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return false;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return false;
</span><span class="cx"> return rootElement->intrinsicHeight().isPercent();
</span><span class="lines">@@ -301,7 +301,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return;
</span><span class="cx">
</span><span class="lines">@@ -320,7 +320,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return;
</span><span class="cx"> rootElement->unpauseAnimations();
</span><span class="lines">@@ -331,7 +331,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (!m_page)
</span><span class="cx"> return;
</span><del>- SVGSVGElement* rootElement = downcast<SVGDocument>(m_page->mainFrame().document())->rootElement();
</del><ins>+ SVGSVGElement* rootElement = toSVGDocument(m_page->mainFrame().document())->rootElement();
</ins><span class="cx"> if (!rootElement)
</span><span class="cx"> return;
</span><span class="cx"> rootElement->pauseAnimations();
</span></span></pre>
</div>
</div>
</body>
</html>