<!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>[161181] 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/161181">161181</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2013-12-31 06:05:28 -0800 (Tue, 31 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Element's renderer factory should return RenderPtrs.
&lt;https://webkit.org/b/126318&gt;

Rename Element::createRenderer() to createElementRenderer() and have
it return RenderPtr&lt;RenderElement&gt;. Propagate signature until it
builds again.

We leakPtr() the renderer at two call sites when handing things over
to raw pointer API. This'll get tidied up in subsequent patches.

Reviewed by Sam Weinig.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulespluginsPluginReplacementh">trunk/Source/WebCore/Modules/plugins/PluginReplacement.h</a></li>
<li><a href="#trunkSourceWebCoreModulespluginsQuickTimePluginReplacementcpp">trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulespluginsQuickTimePluginReplacementh">trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.h</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementh">trunk/Source/WebCore/dom/Element.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAppletElementcpp">trunk/Source/WebCore/html/HTMLAppletElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAppletElementh">trunk/Source/WebCore/html/HTMLAppletElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBRElementcpp">trunk/Source/WebCore/html/HTMLBRElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBRElementh">trunk/Source/WebCore/html/HTMLBRElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLButtonElementcpp">trunk/Source/WebCore/html/HTMLButtonElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLButtonElementh">trunk/Source/WebCore/html/HTMLButtonElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementcpp">trunk/Source/WebCore/html/HTMLCanvasElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementh">trunk/Source/WebCore/html/HTMLCanvasElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDetailsElementcpp">trunk/Source/WebCore/html/HTMLDetailsElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDetailsElementh">trunk/Source/WebCore/html/HTMLDetailsElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementcpp">trunk/Source/WebCore/html/HTMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementh">trunk/Source/WebCore/html/HTMLElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFieldSetElementcpp">trunk/Source/WebCore/html/HTMLFieldSetElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFieldSetElementh">trunk/Source/WebCore/html/HTMLFieldSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementcpp">trunk/Source/WebCore/html/HTMLFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementh">trunk/Source/WebCore/html/HTMLFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementcpp">trunk/Source/WebCore/html/HTMLFrameSetElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementh">trunk/Source/WebCore/html/HTMLFrameSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementcpp">trunk/Source/WebCore/html/HTMLIFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementh">trunk/Source/WebCore/html/HTMLIFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementcpp">trunk/Source/WebCore/html/HTMLImageElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementh">trunk/Source/WebCore/html/HTMLImageElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementcpp">trunk/Source/WebCore/html/HTMLInputElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementh">trunk/Source/WebCore/html/HTMLInputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMediaElementcpp">trunk/Source/WebCore/html/HTMLMediaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMediaElementh">trunk/Source/WebCore/html/HTMLMediaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMeterElementcpp">trunk/Source/WebCore/html/HTMLMeterElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMeterElementh">trunk/Source/WebCore/html/HTMLMeterElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPlugInElementcpp">trunk/Source/WebCore/html/HTMLPlugInElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPlugInElementh">trunk/Source/WebCore/html/HTMLPlugInElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPlugInImageElementcpp">trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPlugInImageElementh">trunk/Source/WebCore/html/HTMLPlugInImageElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLProgressElementcpp">trunk/Source/WebCore/html/HTMLProgressElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLProgressElementh">trunk/Source/WebCore/html/HTMLProgressElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementcpp">trunk/Source/WebCore/html/HTMLSelectElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementh">trunk/Source/WebCore/html/HTMLSelectElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSummaryElementcpp">trunk/Source/WebCore/html/HTMLSummaryElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSummaryElementh">trunk/Source/WebCore/html/HTMLSummaryElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTextAreaElementcpp">trunk/Source/WebCore/html/HTMLTextAreaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTextAreaElementh">trunk/Source/WebCore/html/HTMLTextAreaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementcpp">trunk/Source/WebCore/html/HTMLVideoElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementh">trunk/Source/WebCore/html/HTMLVideoElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowDetailsMarkerControlcpp">trunk/Source/WebCore/html/shadow/DetailsMarkerControl.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowDetailsMarkerControlh">trunk/Source/WebCore/html/shadow/DetailsMarkerControl.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlElementscpp">trunk/Source/WebCore/html/shadow/MediaControlElements.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlElementsh">trunk/Source/WebCore/html/shadow/MediaControlElements.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMeterShadowElementcpp">trunk/Source/WebCore/html/shadow/MeterShadowElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMeterShadowElementh">trunk/Source/WebCore/html/shadow/MeterShadowElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowProgressShadowElementcpp">trunk/Source/WebCore/html/shadow/ProgressShadowElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowProgressShadowElementh">trunk/Source/WebCore/html/shadow/ProgressShadowElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowSliderThumbElementcpp">trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowSliderThumbElementh">trunk/Source/WebCore/html/shadow/SliderThumbElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementscpp">trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementsh">trunk/Source/WebCore/html/shadow/TextControlInnerElements.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackCuecpp">trunk/Source/WebCore/html/track/TextTrackCue.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackCueh">trunk/Source/WebCore/html/track/TextTrackCue.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLInlineContainerElementcpp">trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLInlineContainerElementh">trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMathElementcpp">trunk/Source/WebCore/mathml/MathMLMathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMathElementh">trunk/Source/WebCore/mathml/MathMLMathElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLSelectElementcpp">trunk/Source/WebCore/mathml/MathMLSelectElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLSelectElementh">trunk/Source/WebCore/mathml/MathMLSelectElement.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLTextElementcpp">trunk/Source/WebCore/mathml/MathMLTextElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLTextElementh">trunk/Source/WebCore/mathml/MathMLTextElement.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockcpp">trunk/Source/WebCore/rendering/RenderBlock.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementcpp">trunk/Source/WebCore/rendering/RenderElement.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementh">trunk/Source/WebCore/rendering/RenderElement.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderEmbeddedObjectcpp">trunk/Source/WebCore/rendering/RenderEmbeddedObject.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderEmbeddedObjecth">trunk/Source/WebCore/rendering/RenderEmbeddedObject.h</a></li>
<li><a href="#trunkSourceWebCorestyleStyleResolveTreecpp">trunk/Source/WebCore/style/StyleResolveTree.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAElementcpp">trunk/Source/WebCore/svg/SVGAElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAElementh">trunk/Source/WebCore/svg/SVGAElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAltGlyphElementcpp">trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAltGlyphElementh">trunk/Source/WebCore/svg/SVGAltGlyphElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGCircleElementcpp">trunk/Source/WebCore/svg/SVGCircleElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGCircleElementh">trunk/Source/WebCore/svg/SVGCircleElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGClipPathElementcpp">trunk/Source/WebCore/svg/SVGClipPathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGClipPathElementh">trunk/Source/WebCore/svg/SVGClipPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGDefsElementcpp">trunk/Source/WebCore/svg/SVGDefsElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGDefsElementh">trunk/Source/WebCore/svg/SVGDefsElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGEllipseElementcpp">trunk/Source/WebCore/svg/SVGEllipseElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGEllipseElementh">trunk/Source/WebCore/svg/SVGEllipseElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFilterElementcpp">trunk/Source/WebCore/svg/SVGFilterElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFilterElementh">trunk/Source/WebCore/svg/SVGFilterElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFilterPrimitiveStandardAttributescpp">trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFilterPrimitiveStandardAttributesh">trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGForeignObjectElementcpp">trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGForeignObjectElementh">trunk/Source/WebCore/svg/SVGForeignObjectElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGElementcpp">trunk/Source/WebCore/svg/SVGGElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGElementh">trunk/Source/WebCore/svg/SVGGElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGraphicsElementcpp">trunk/Source/WebCore/svg/SVGGraphicsElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGraphicsElementh">trunk/Source/WebCore/svg/SVGGraphicsElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGImageElementcpp">trunk/Source/WebCore/svg/SVGImageElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGImageElementh">trunk/Source/WebCore/svg/SVGImageElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLinearGradientElementcpp">trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLinearGradientElementh">trunk/Source/WebCore/svg/SVGLinearGradientElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMarkerElementcpp">trunk/Source/WebCore/svg/SVGMarkerElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMarkerElementh">trunk/Source/WebCore/svg/SVGMarkerElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMaskElementcpp">trunk/Source/WebCore/svg/SVGMaskElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMaskElementh">trunk/Source/WebCore/svg/SVGMaskElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPathElementcpp">trunk/Source/WebCore/svg/SVGPathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPathElementh">trunk/Source/WebCore/svg/SVGPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPatternElementcpp">trunk/Source/WebCore/svg/SVGPatternElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPatternElementh">trunk/Source/WebCore/svg/SVGPatternElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRadialGradientElementcpp">trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRadialGradientElementh">trunk/Source/WebCore/svg/SVGRadialGradientElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRectElementcpp">trunk/Source/WebCore/svg/SVGRectElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRectElementh">trunk/Source/WebCore/svg/SVGRectElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSVGElementcpp">trunk/Source/WebCore/svg/SVGSVGElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSVGElementh">trunk/Source/WebCore/svg/SVGSVGElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGStopElementcpp">trunk/Source/WebCore/svg/SVGStopElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGStopElementh">trunk/Source/WebCore/svg/SVGStopElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSwitchElementcpp">trunk/Source/WebCore/svg/SVGSwitchElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSwitchElementh">trunk/Source/WebCore/svg/SVGSwitchElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSymbolElementcpp">trunk/Source/WebCore/svg/SVGSymbolElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSymbolElementh">trunk/Source/WebCore/svg/SVGSymbolElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTRefElementcpp">trunk/Source/WebCore/svg/SVGTRefElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTRefElementh">trunk/Source/WebCore/svg/SVGTRefElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTSpanElementcpp">trunk/Source/WebCore/svg/SVGTSpanElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTSpanElementh">trunk/Source/WebCore/svg/SVGTSpanElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextElementcpp">trunk/Source/WebCore/svg/SVGTextElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextElementh">trunk/Source/WebCore/svg/SVGTextElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextPathElementcpp">trunk/Source/WebCore/svg/SVGTextPathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextPathElementh">trunk/Source/WebCore/svg/SVGTextPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGUseElementcpp">trunk/Source/WebCore/svg/SVGUseElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGUseElementh">trunk/Source/WebCore/svg/SVGUseElement.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/ChangeLog        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2013-12-31  Andreas Kling  &lt;akling@apple.com&gt;
+
+        Element's renderer factory should return RenderPtrs.
+        &lt;https://webkit.org/b/126318&gt;
+
+        Rename Element::createRenderer() to createElementRenderer() and have
+        it return RenderPtr&lt;RenderElement&gt;. Propagate signature until it
+        builds again.
+
+        We leakPtr() the renderer at two call sites when handing things over
+        to raw pointer API. This'll get tidied up in subsequent patches.
+
+        Reviewed by Sam Weinig.
+
</ins><span class="cx"> 2013-12-31  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [SOUP] Return early in ResourceHandle::receivedCancellation if the load has already cancelled
</span></span></pre></div>
<a id="trunkSourceWebCoreModulespluginsPluginReplacementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/plugins/PluginReplacement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/plugins/PluginReplacement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/Modules/plugins/PluginReplacement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #ifndef PluginReplacement_h
</span><span class="cx"> #define PluginReplacement_h
</span><span class="cx"> 
</span><ins>+#include &quot;RenderPtr.h&quot;
</ins><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -48,7 +49,7 @@
</span><span class="cx">     virtual JSC::JSObject* scriptObject() { return 0; }
</span><span class="cx"> 
</span><span class="cx">     virtual bool willCreateRenderer() { return false; }
</span><del>-    virtual RenderElement* createRenderer(HTMLPlugInElement&amp;, PassRef&lt;RenderStyle&gt;) = 0;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(HTMLPlugInElement&amp;, PassRef&lt;RenderStyle&gt;) = 0;
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     PluginReplacement() { }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulespluginsQuickTimePluginReplacementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -117,14 +117,14 @@
</span><span class="cx">     m_mediaElement = nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* QuickTimePluginReplacement::createRenderer(HTMLPlugInElement&amp; plugin, PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; QuickTimePluginReplacement::createElementRenderer(HTMLPlugInElement&amp; plugin, PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     ASSERT_UNUSED(plugin, m_parentElement == &amp;plugin);
</span><span class="cx"> 
</span><span class="cx">     if (m_mediaElement)
</span><del>-        return m_mediaElement-&gt;createRenderer(std::move(style));
</del><ins>+        return m_mediaElement-&gt;createElementRenderer(std::move(style));
</ins><span class="cx"> 
</span><del>-    return 0;
</del><ins>+    return nullptr;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> DOMWrapperWorld&amp; QuickTimePluginReplacement::isolatedWorld()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulespluginsQuickTimePluginReplacementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx">     virtual JSC::JSObject* scriptObject() OVERRIDE { return m_scriptObject; }
</span><span class="cx"> 
</span><span class="cx">     virtual bool willCreateRenderer() OVERRIDE { return m_mediaElement; }
</span><del>-    virtual RenderElement* createRenderer(HTMLPlugInElement&amp;, PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(HTMLPlugInElement&amp;, PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     unsigned long long movieSize() const;
</span><span class="cx">     void postEvent(const String&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/dom/Element.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -1340,7 +1340,7 @@
</span><span class="cx">     return style.display() != NONE;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* Element::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; Element::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/dom/Element.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -310,7 +310,7 @@
</span><span class="cx"> 
</span><span class="cx">     void lazyReattach();
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;);
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;);
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx">     void didAffectSelector(AffectedSelectorMask);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAppletElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAppletElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAppletElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLAppletElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">     return HTMLPlugInImageElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLAppletElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLAppletElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (!canEmbedJava())
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAppletElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAppletElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAppletElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLAppletElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual RenderWidget* renderWidgetForJSBindings() const;
</span><span class="cx">     virtual void updateWidget(PluginCreationOption) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBRElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBRElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBRElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLBRElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -71,12 +71,12 @@
</span><span class="cx">         HTMLElement::collectStyleForPresentationAttribute(name, value, style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLBRElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLBRElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (style.get().hasContent())
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> 
</span><del>-    return new RenderLineBreak(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderLineBreak&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBRElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBRElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBRElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLBRElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx">     virtual bool isPresentationAttribute(const QualifiedName&amp;) const OVERRIDE;
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLButtonElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLButtonElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLButtonElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLButtonElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -57,9 +57,9 @@
</span><span class="cx">     setAttribute(typeAttr, type);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLButtonElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLButtonElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderButton(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderButton&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; HTMLButtonElement::formControlType() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLButtonElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLButtonElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLButtonElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLButtonElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual const AtomicString&amp; formControlType() const;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     // HTMLFormControlElement always creates one, but buttons don't need it.
</span><span class="cx">     virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE { return false; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -112,16 +112,16 @@
</span><span class="cx">     HTMLElement::parseAttribute(name, value);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLCanvasElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLCanvasElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     Frame* frame = document().frame();
</span><span class="cx">     if (frame &amp;&amp; frame-&gt;script().canExecuteScripts(NotAboutToExecuteScript)) {
</span><span class="cx">         m_rendererIsCanvas = true;
</span><del>-        return new RenderHTMLCanvas(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderHTMLCanvas&gt;(*this, std::move(style));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     m_rendererIsCanvas = false;
</span><del>-    return HTMLElement::createRenderer(std::move(style));
</del><ins>+    return HTMLElement::createElementRenderer(std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLCanvasElement::willAttachRenderers()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -150,7 +150,7 @@
</span><span class="cx">     HTMLCanvasElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual void willAttachRenderers() OVERRIDE;
</span><span class="cx">     virtual bool areAuthorShadowsAllowed() const OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDetailsElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDetailsElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDetailsElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -110,9 +110,9 @@
</span><span class="cx">     ASSERT(hasTagName(detailsTag));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLDetailsElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLDetailsElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderBlockFlow(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderBlockFlow&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLDetailsElement::didAddUserAgentShadowRoot(ShadowRoot* root)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDetailsElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDetailsElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDetailsElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> private:
</span><span class="cx">     HTMLDetailsElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -798,10 +798,10 @@
</span><span class="cx">     return StyledElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (hasLocalName(wbrTag))
</span><del>-        return new RenderLineBreak(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderLineBreak&gt;(*this, std::move(style));
</ins><span class="cx">     return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx">     bool ieForbidsInsertHTML() const;
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     HTMLFormElement* form() const { return virtualForm(); }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFieldSetElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFieldSetElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -81,9 +81,9 @@
</span><span class="cx">     return fieldset;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLFieldSetElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLFieldSetElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderFieldset(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderFieldset&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> HTMLLegendElement* HTMLFieldSetElement::legend() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFieldSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFieldSetElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool isEnumeratable() const OVERRIDE { return true; }
</span><span class="cx">     virtual bool supportsFocus() const OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual const AtomicString&amp; formControlType() const OVERRIDE;
</span><span class="cx">     virtual bool recalcWillValidate() const OVERRIDE { return false; }
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFrameElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -54,9 +54,9 @@
</span><span class="cx">     return isURLAllowed();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLFrameElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLFrameElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderFrame(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderFrame&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLFrameElement::noResize() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFrameElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">     virtual void didAttachRenderers() OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -155,12 +155,12 @@
</span><span class="cx">     return style.isStyleAvailable();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLFrameSetElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLFrameSetElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (style.get().hasContent())
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx">     
</span><del>-    return new RenderFrameSet(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderFrameSet&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> HTMLFrameSetElement* HTMLFrameSetElement::findContaining(Element* descendant)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void willAttachRenderers() OVERRIDE;
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     
</span><span class="cx">     virtual void defaultEventHandler(Event*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -95,9 +95,9 @@
</span><span class="cx">     return isURLAllowed() &amp;&amp; style.display() != NONE;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLIFrameElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLIFrameElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderIFrame(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderIFrame&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLIFrameElement::shouldDisplaySeamlessly() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual void didRecalcStyle(Style::Change) OVERRIDE;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLImageElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -174,14 +174,14 @@
</span><span class="cx">     return alt;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLImageElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLImageElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (style.get().hasContent())
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> 
</span><del>-    RenderImage* image = new RenderImage(*this, std::move(style));
</del><ins>+    auto image = createRenderer&lt;RenderImage&gt;(*this, std::move(style));
</ins><span class="cx">     image-&gt;setImageResource(RenderImageResource::create());
</span><del>-    return image;
</del><ins>+    return std::move(image);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLImageElement::canStartSelection() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLImageElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -98,7 +98,7 @@
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual void didAttachRenderers() OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool canStartSelection() const OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -780,9 +780,9 @@
</span><span class="cx">     return m_inputType-&gt;rendererIsNeeded() &amp;&amp; HTMLTextFormControlElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLInputElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLInputElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return m_inputType-&gt;createInputRenderer(std::move(style)).leakPtr();
</del><ins>+    return m_inputType-&gt;createInputRenderer(std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLInputElement::willAttachRenderers()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLInputElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -209,7 +209,7 @@
</span><span class="cx">     bool canHaveSelection() const;
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual void willAttachRenderers() OVERRIDE;
</span><span class="cx">     virtual void didAttachRenderers() OVERRIDE;
</span><span class="cx">     virtual void didDetachRenderers() OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMediaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMediaElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -649,22 +649,22 @@
</span><span class="cx">     return controls() &amp;&amp; HTMLElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLMediaElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLMediaElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
</span><span class="cx">     if (shouldUseVideoPluginProxy()) {
</span><span class="cx">         // Setup the renderer if we already have a proxy widget.
</span><del>-        RenderEmbeddedObject* mediaRenderer = new RenderEmbeddedObject(*this, std::move(style));
</del><ins>+        auto mediaRenderer = createRenderer&lt;RenderEmbeddedObject&gt;(*this, std::move(style));
</ins><span class="cx">         if (m_proxyWidget) {
</span><span class="cx">             mediaRenderer-&gt;setWidget(m_proxyWidget);
</span><span class="cx"> 
</span><span class="cx">             if (Frame* frame = document().frame())
</span><span class="cx">                 frame-&gt;loader().client().showMediaPlayerProxyPlugin(m_proxyWidget.get());
</span><span class="cx">         }
</span><del>-        return mediaRenderer;
</del><ins>+        return std::move(mediaRenderer);
</ins><span class="cx">     }
</span><span class="cx"> #endif
</span><del>-    return new RenderMedia(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMedia&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLMediaElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMediaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMediaElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMediaElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLMediaElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -479,7 +479,7 @@
</span><span class="cx">     void endIgnoringTrackDisplayUpdateRequests();
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     void createMediaPlayer();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMeterElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMeterElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMeterElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLMeterElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -57,12 +57,12 @@
</span><span class="cx">     return meter;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLMeterElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLMeterElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (hasAuthorShadowRoot() || !document().page()-&gt;theme().supportsMeter(style.get().appearance()))
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> 
</span><del>-    return new RenderMeter(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMeter&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLMeterElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMeterElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMeterElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMeterElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLMeterElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">     virtual bool supportLabels() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><span class="cx">     virtual bool recalcWillValidate() const { return false; }
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPlugInElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPlugInElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPlugInElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLPlugInElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -274,12 +274,12 @@
</span><span class="cx"> 
</span><span class="cx"> #endif /* ENABLE(NETSCAPE_PLUGIN_API) */
</span><span class="cx"> 
</span><del>-RenderElement* HTMLPlugInElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLPlugInElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (m_pluginReplacement &amp;&amp; m_pluginReplacement-&gt;willCreateRenderer())
</span><del>-        return m_pluginReplacement-&gt;createRenderer(*this, std::move(style));
</del><ins>+        return m_pluginReplacement-&gt;createElementRenderer(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return new RenderEmbeddedObject(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderEmbeddedObject&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLPlugInElement::swapRendererTimerFired(Timer&lt;HTMLPlugInElement&gt;*)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPlugInElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPlugInElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPlugInElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLPlugInElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -100,7 +100,7 @@
</span><span class="cx">     virtual void defaultEventHandler(Event*) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool requestObject(const String&amp; url, const String&amp; mimeType, const Vector&lt;String&gt;&amp; paramNames, const Vector&lt;String&gt;&amp; paramValues);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     // Subclasses should use guardedDispatchBeforeLoadEvent instead of calling dispatchBeforeLoadEvent directly.
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPlugInImageElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -196,10 +196,10 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLPlugInImageElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLPlugInImageElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (displayState() &gt;= PreparingPluginReplacement)
</span><del>-        return HTMLPlugInElement::createRenderer(std::move(style));
</del><ins>+        return HTMLPlugInElement::createElementRenderer(std::move(style));
</ins><span class="cx"> 
</span><span class="cx">     // Once a PlugIn Element creates its renderer, it needs to be told when the Document goes
</span><span class="cx">     // inactive or reactivates so it can clear the renderer before going into the page cache.
</span><span class="lines">@@ -209,9 +209,9 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (displayState() == DisplayingSnapshot) {
</span><del>-        RenderSnapshottedPlugIn* renderSnapshottedPlugIn = new RenderSnapshottedPlugIn(*this, std::move(style));
</del><ins>+        auto renderSnapshottedPlugIn = createRenderer&lt;RenderSnapshottedPlugIn&gt;(*this, std::move(style));
</ins><span class="cx">         renderSnapshottedPlugIn-&gt;updateSnapshot(m_snapshotImage);
</span><del>-        return renderSnapshottedPlugIn;
</del><ins>+        return std::move(renderSnapshottedPlugIn);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Fallback content breaks the DOM-&gt;Renderer class relationship of this
</span><span class="lines">@@ -221,19 +221,19 @@
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> 
</span><span class="cx">     if (isImageType()) {
</span><del>-        RenderImage* image = new RenderImage(*this, std::move(style));
</del><ins>+        auto image = createRenderer&lt;RenderImage&gt;(*this, std::move(style));
</ins><span class="cx">         image-&gt;setImageResource(RenderImageResource::create());
</span><del>-        return image;
</del><ins>+        return std::move(image);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx">     if (ShadowRoot* shadowRoot = this-&gt;shadowRoot()) {
</span><span class="cx">         Element* shadowElement = toElement(shadowRoot-&gt;firstChild());
</span><span class="cx">         if (shadowElement &amp;&amp; shadowElement-&gt;shadowPseudoId() == &quot;-apple-youtube-shadow-iframe&quot;)
</span><del>-            return new RenderBlockFlow(*this, std::move(style));
</del><ins>+            return createRenderer&lt;RenderBlockFlow&gt;(*this, std::move(style));
</ins><span class="cx">     }
</span><span class="cx"> #endif
</span><del>-    return HTMLPlugInElement::createRenderer(std::move(style));
</del><ins>+    return HTMLPlugInElement::createElementRenderer(std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLPlugInImageElement::willRecalcStyle(Style::Change)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPlugInImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPlugInImageElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPlugInImageElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLPlugInImageElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -133,7 +133,7 @@
</span><span class="cx">     virtual bool requestObject(const String&amp; url, const String&amp; mimeType, const Vector&lt;String&gt;&amp; paramNames, const Vector&lt;String&gt;&amp; paramValues) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool willRecalcStyle(Style::Change) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLProgressElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLProgressElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLProgressElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLProgressElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -58,12 +58,12 @@
</span><span class="cx">     return progress.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLProgressElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLProgressElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (!style.get().hasAppearance() || hasAuthorShadowRoot())
</span><span class="cx">         return RenderElement::createFor(*this, std::move(style));
</span><span class="cx"> 
</span><del>-    return new RenderProgress(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderProgress&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLProgressElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLProgressElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLProgressElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLProgressElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLProgressElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx">     virtual bool shouldAppearIndeterminate() const OVERRIDE;
</span><span class="cx">     virtual bool supportLabels() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     RenderProgress* renderProgress() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLSelectElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -347,14 +347,14 @@
</span><span class="cx">     return !usesMenuList();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLSelectElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLSelectElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">     if (usesMenuList())
</span><del>-        return new RenderMenuList(*this, std::move(style));
-    return new RenderListBox(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMenuList&gt;(*this, std::move(style));
+    return createRenderer&lt;RenderListBox&gt;(*this, std::move(style));
</ins><span class="cx"> #else
</span><del>-    return new RenderMenuList(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMenuList&gt;(*this, std::move(style));
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLSelectElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">     virtual bool isPresentationAttribute(const QualifiedName&amp;) const OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool appendFormData(FormDataList&amp;, bool) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual void reset() OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSummaryElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSummaryElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSummaryElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -64,9 +64,9 @@
</span><span class="cx">     ASSERT(hasTagName(summaryTag));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLSummaryElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLSummaryElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderBlockFlow(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderBlockFlow&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLSummaryElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSummaryElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSummaryElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSummaryElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> private:
</span><span class="cx">     HTMLSummaryElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual void defaultEventHandler(Event*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTextAreaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTextAreaElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -209,9 +209,9 @@
</span><span class="cx">         HTMLTextFormControlElement::parseAttribute(name, value);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLTextAreaElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLTextAreaElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderTextControlMultiLine(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderTextControlMultiLine&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool HTMLTextAreaElement::appendFormData(FormDataList&amp; encoding, bool)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTextAreaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTextAreaElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual bool isPresentationAttribute(const QualifiedName&amp;) const OVERRIDE;
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool appendFormData(FormDataList&amp;, bool) OVERRIDE;
</span><span class="cx">     virtual void reset() OVERRIDE;
</span><span class="cx">     virtual bool hasCustomFocusLogic() const OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLVideoElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -67,13 +67,13 @@
</span><span class="cx">     return HTMLElement::rendererIsNeeded(style); 
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* HTMLVideoElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; HTMLVideoElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
</span><span class="cx">     if (shouldUseVideoPluginProxy())
</span><del>-        return HTMLMediaElement::createRenderer(std::move(style));
</del><ins>+        return HTMLMediaElement::createElementRenderer(std::move(style));
</ins><span class="cx"> #endif
</span><del>-    return new RenderVideo(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderVideo&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLVideoElement::didAttachRenderers()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/HTMLVideoElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">     bool shouldDisplayPosterImage() const { return displayMode() == Poster || displayMode() == PosterWaitingForVideo; }
</span><span class="cx"> 
</span><span class="cx">     URL posterImageURL() const;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     HTMLVideoElement(const QualifiedName&amp;, Document&amp;, bool);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowDetailsMarkerControlcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/DetailsMarkerControl.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/DetailsMarkerControl.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/DetailsMarkerControl.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -45,9 +45,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* DetailsMarkerControl::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; DetailsMarkerControl::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderDetailsMarker(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderDetailsMarker&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool DetailsMarkerControl::rendererIsNeeded(const RenderStyle&amp; style)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowDetailsMarkerControlh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/DetailsMarkerControl.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/DetailsMarkerControl.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/DetailsMarkerControl.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> private:
</span><span class="cx">     DetailsMarkerControl(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx">     virtual const AtomicString&amp; shadowPseudoId() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlElementscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlElements.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -332,9 +332,9 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MediaControlTimelineContainerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MediaControlTimelineContainerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderMediaControlTimelineContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMediaControlTimelineContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -351,9 +351,9 @@
</span><span class="cx">     return element.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MediaControlVolumeSliderContainerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MediaControlVolumeSliderContainerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderMediaVolumeSliderContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMediaVolumeSliderContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void MediaControlVolumeSliderContainerElement::defaultEventHandler(Event* event)
</span><span class="lines">@@ -1214,9 +1214,9 @@
</span><span class="cx">     return element.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MediaControlTextTrackContainerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MediaControlTextTrackContainerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderTextTrackContainerElement(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderTextTrackContainerElement&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; MediaControlTextTrackContainerElement::textTrackContainerElementShadowPseudoId()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlElementsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlElements.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -114,7 +114,7 @@
</span><span class="cx">     explicit MediaControlTimelineContainerElement(Document&amp;);
</span><span class="cx">     virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -133,7 +133,7 @@
</span><span class="cx">     virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
</span><span class="cx">     virtual void defaultEventHandler(Event*) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -482,7 +482,7 @@
</span><span class="cx">     explicit MediaControlTextTrackContainerElement(Document&amp;);
</span><span class="cx">     virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual PassRefPtr&lt;Image&gt; createTextTrackRepresentationImage() OVERRIDE;
</span><span class="cx">     virtual void textTrackRepresentationBoundsChanged(const IntRect&amp;) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMeterShadowElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MeterShadowElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MeterShadowElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/MeterShadowElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -76,9 +76,9 @@
</span><span class="cx">     return render &amp;&amp; !render-&gt;theme().supportsMeter(render-&gt;style().appearance()) &amp;&amp; HTMLDivElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MeterInnerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MeterInnerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderMeter(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMeter&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; MeterValueElement::valuePseudoId() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMeterShadowElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MeterShadowElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MeterShadowElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/MeterShadowElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">     MeterInnerElement(Document&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> inline PassRefPtr&lt;MeterInnerElement&gt; MeterInnerElement::create(Document&amp; document)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowProgressShadowElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ProgressShadowElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ProgressShadowElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/ProgressShadowElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -61,9 +61,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* ProgressInnerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; ProgressInnerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderProgress(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderProgress&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool ProgressInnerElement::rendererIsNeeded(const RenderStyle&amp; style)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowProgressShadowElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ProgressShadowElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ProgressShadowElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/ProgressShadowElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> private:
</span><span class="cx">     ProgressInnerElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSliderThumbElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -212,9 +212,9 @@
</span><span class="cx">         renderer()-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SliderThumbElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SliderThumbElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSliderThumb(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSliderThumb&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SliderThumbElement::isDisabledFormControl() const
</span><span class="lines">@@ -611,9 +611,9 @@
</span><span class="cx">     return adoptRef(new SliderContainerElement(document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SliderContainerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SliderContainerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSliderContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSliderContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; SliderContainerElement::shadowPseudoId() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSliderThumbElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/SliderThumbElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SliderThumbElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/SliderThumbElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SliderThumbElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual PassRefPtr&lt;Element&gt; cloneElementWithoutAttributesAndChildren() OVERRIDE;
</span><span class="cx">     virtual bool isDisabledFormControl() const OVERRIDE;
</span><span class="cx">     virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     SliderContainerElement(Document&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual const AtomicString&amp; shadowPseudoId() const;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -58,9 +58,9 @@
</span><span class="cx">     return adoptRef(new TextControlInnerContainer(document));
</span><span class="cx"> }
</span><span class="cx">     
</span><del>-RenderElement* TextControlInnerContainer::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; TextControlInnerContainer::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderTextControlInnerContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderTextControlInnerContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> TextControlInnerElement::TextControlInnerElement(Document&amp; document)
</span><span class="lines">@@ -112,9 +112,9 @@
</span><span class="cx">         HTMLDivElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* TextControlInnerTextElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; TextControlInnerTextElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderTextControlInnerBlock(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderTextControlInnerBlock&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> RenderTextControlInnerBlock* TextControlInnerTextElement::renderer() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx">     static PassRefPtr&lt;TextControlInnerContainer&gt; create(Document&amp;);
</span><span class="cx"> protected:
</span><span class="cx">     TextControlInnerContainer(Document&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> class TextControlInnerElement FINAL : public HTMLDivElement {
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     TextControlInnerTextElement(Document&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual PassRefPtr&lt;RenderStyle&gt; customStyleForRenderer() OVERRIDE;
</span><span class="cx">     virtual bool isMouseFocusable() const OVERRIDE { return false; }
</span><span class="cx">     virtual bool isTextControlInnerTextElement() const OVERRIDE { return true; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackCuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackCue.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackCue.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/track/TextTrackCue.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -176,9 +176,9 @@
</span><span class="cx">     return trackDisplayBoxShadowPseudoId;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* TextTrackCueBox::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; TextTrackCueBox::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderTextTrackCue(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderTextTrackCue&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackCueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackCue.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackCue.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/html/track/TextTrackCue.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> protected:
</span><span class="cx">     TextTrackCueBox(Document&amp;, TextTrackCue*);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     TextTrackCue* m_cue;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLInlineContainerElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -54,38 +54,38 @@
</span><span class="cx">     return adoptRef(new MathMLInlineContainerElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MathMLInlineContainerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MathMLInlineContainerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (hasLocalName(annotation_xmlTag))
</span><del>-        return new RenderMathMLRow(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLRow&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(merrorTag) || hasLocalName(mphantomTag) || hasLocalName(mrowTag) || hasLocalName(mstyleTag))
</span><del>-        return new RenderMathMLRow(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLRow&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(msubTag))
</span><del>-        return new RenderMathMLScripts(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLScripts&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(msupTag))
</span><del>-        return new RenderMathMLScripts(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLScripts&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(msubsupTag))
</span><del>-        return new RenderMathMLScripts(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLScripts&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(mmultiscriptsTag))
</span><del>-        return new RenderMathMLScripts(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLScripts&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(moverTag))
</span><del>-        return new RenderMathMLUnderOver(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLUnderOver&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(munderTag))
</span><del>-        return new RenderMathMLUnderOver(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLUnderOver&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(munderoverTag))
</span><del>-        return new RenderMathMLUnderOver(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLUnderOver&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(mfracTag))
</span><del>-        return new RenderMathMLFraction(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLFraction&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(msqrtTag))
</span><del>-        return new RenderMathMLSquareRoot(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLSquareRoot&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(mrootTag))
</span><del>-        return new RenderMathMLRoot(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLRoot&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(mfencedTag))
</span><del>-        return new RenderMathMLFenced(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLFenced&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(mtableTag))
</span><del>-        return new RenderMathMLTable(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLTable&gt;(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return new RenderMathMLBlock(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMathMLBlock&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLInlineContainerElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLInlineContainerElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx">     MathMLInlineContainerElement(const QualifiedName&amp; tagName, Document&amp;);
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx">     
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMathElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMathElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLMathElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -51,9 +51,9 @@
</span><span class="cx">     return MathMLInlineContainerElement::insertedInto(insertionPoint);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MathMLMathElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MathMLMathElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderMathMLMath(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMathMLMath&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMathElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMathElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLMathElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx">     MathMLMathElement(const QualifiedName&amp; tagName, Document&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual InsertionNotificationRequest insertedInto(ContainerNode&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> };
</span><span class="cx">     
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLSelectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLSelectElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLSelectElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLSelectElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -47,9 +47,9 @@
</span><span class="cx">     return adoptRef(new MathMLSelectElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MathMLSelectElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MathMLSelectElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderMathMLRow(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderMathMLRow&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool MathMLSelectElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLSelectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLSelectElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLSelectElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLSelectElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     MathMLSelectElement(const QualifiedName&amp; tagName, Document&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLTextElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLTextElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLTextElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLTextElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -63,14 +63,14 @@
</span><span class="cx">         renderer()-&gt;updateFromElement();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* MathMLTextElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; MathMLTextElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (hasLocalName(MathMLNames::moTag))
</span><del>-        return new RenderMathMLOperator(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLOperator&gt;(*this, std::move(style));
</ins><span class="cx">     if (hasLocalName(MathMLNames::mspaceTag))
</span><del>-        return new RenderMathMLSpace(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderMathMLSpace&gt;(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return MathMLElement::createRenderer(std::move(style));
</del><ins>+    return MathMLElement::createElementRenderer(std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool MathMLTextElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLTextElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLTextElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLTextElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/mathml/MathMLTextElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> private:
</span><span class="cx">     MathMLTextElement(const QualifiedName&amp; tagName, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlock.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlock.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/rendering/RenderBlock.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -511,8 +511,8 @@
</span><span class="cx">         cloneBlock = createAnonymousBlock();
</span><span class="cx">         cloneBlock-&gt;setChildrenInline(childrenInline());
</span><span class="cx">     } else {
</span><del>-        auto cloneRenderer = element()-&gt;createRenderer(style());
-        cloneBlock = toRenderBlock(cloneRenderer);
</del><ins>+        auto cloneRenderer = element()-&gt;createElementRenderer(style());
+        cloneBlock = toRenderBlock(cloneRenderer.leakPtr());
</ins><span class="cx">         cloneBlock-&gt;initializeStyle();
</span><span class="cx"> 
</span><span class="cx">         // This takes care of setting the right value of childrenInline in case
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -122,7 +122,7 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* RenderElement::createFor(Element&amp; element, PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; RenderElement::createFor(Element&amp; element, PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     Document&amp; document = element.document();
</span><span class="cx"> 
</span><span class="lines">@@ -131,64 +131,64 @@
</span><span class="cx">     // Otherwise acts as if we didn't support this feature.
</span><span class="cx">     const ContentData* contentData = style.get().contentData();
</span><span class="cx">     if (contentData &amp;&amp; !contentData-&gt;next() &amp;&amp; contentData-&gt;isImage() &amp;&amp; !element.isPseudoElement()) {
</span><del>-        RenderImage* image = new RenderImage(element, std::move(style));
</del><ins>+        auto image = createRenderer&lt;RenderImage&gt;(element, std::move(style));
</ins><span class="cx">         if (const StyleImage* styleImage = static_cast&lt;const ImageContentData*&gt;(contentData)-&gt;image()) {
</span><span class="cx">             image-&gt;setImageResource(RenderImageResourceStyleImage::create(const_cast&lt;StyleImage&amp;&gt;(*styleImage)));
</span><span class="cx">             image-&gt;setIsGeneratedContent();
</span><span class="cx">         } else
</span><span class="cx">             image-&gt;setImageResource(RenderImageResource::create());
</span><del>-        return image;
</del><ins>+        return std::move(image);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (element.hasTagName(HTMLNames::rubyTag)) {
</span><span class="cx">         if (style.get().display() == INLINE)
</span><del>-            return new RenderRubyAsInline(element, std::move(style));
</del><ins>+            return createRenderer&lt;RenderRubyAsInline&gt;(element, std::move(style));
</ins><span class="cx">         if (style.get().display() == BLOCK)
</span><del>-            return new RenderRubyAsBlock(element, std::move(style));
</del><ins>+            return createRenderer&lt;RenderRubyAsBlock&gt;(element, std::move(style));
</ins><span class="cx">     }
</span><span class="cx">     // treat &lt;rt&gt; as ruby text ONLY if it still has its default treatment of block
</span><span class="cx">     if (element.hasTagName(HTMLNames::rtTag) &amp;&amp; style.get().display() == BLOCK)
</span><del>-        return new RenderRubyText(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderRubyText&gt;(element, std::move(style));
</ins><span class="cx">     switch (style.get().display()) {
</span><span class="cx">     case NONE:
</span><span class="cx">         style.dropRef();
</span><span class="cx">         return nullptr;
</span><span class="cx">     case INLINE:
</span><del>-        return new RenderInline(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderInline&gt;(element, std::move(style));
</ins><span class="cx">     case BLOCK:
</span><span class="cx">     case INLINE_BLOCK:
</span><span class="cx">     case RUN_IN:
</span><span class="cx">     case COMPACT:
</span><span class="cx">         if ((!style.get().hasAutoColumnCount() || !style.get().hasAutoColumnWidth()) &amp;&amp; document.regionBasedColumnsEnabled())
</span><del>-            return new RenderMultiColumnBlock(element, std::move(style));
-        return new RenderBlockFlow(element, std::move(style));
</del><ins>+            return createRenderer&lt;RenderMultiColumnBlock&gt;(element, std::move(style));
+        return createRenderer&lt;RenderBlockFlow&gt;(element, std::move(style));
</ins><span class="cx">     case LIST_ITEM:
</span><del>-        return new RenderListItem(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderListItem&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE:
</span><span class="cx">     case INLINE_TABLE:
</span><del>-        return new RenderTable(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTable&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE_ROW_GROUP:
</span><span class="cx">     case TABLE_HEADER_GROUP:
</span><span class="cx">     case TABLE_FOOTER_GROUP:
</span><del>-        return new RenderTableSection(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTableSection&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE_ROW:
</span><del>-        return new RenderTableRow(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTableRow&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE_COLUMN_GROUP:
</span><span class="cx">     case TABLE_COLUMN:
</span><del>-        return new RenderTableCol(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTableCol&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE_CELL:
</span><del>-        return new RenderTableCell(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTableCell&gt;(element, std::move(style));
</ins><span class="cx">     case TABLE_CAPTION:
</span><del>-        return new RenderTableCaption(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderTableCaption&gt;(element, std::move(style));
</ins><span class="cx">     case BOX:
</span><span class="cx">     case INLINE_BOX:
</span><del>-        return new RenderDeprecatedFlexibleBox(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderDeprecatedFlexibleBox&gt;(element, std::move(style));
</ins><span class="cx">     case FLEX:
</span><span class="cx">     case INLINE_FLEX:
</span><del>-        return new RenderFlexibleBox(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderFlexibleBox&gt;(element, std::move(style));
</ins><span class="cx">     case GRID:
</span><span class="cx">     case INLINE_GRID:
</span><del>-        return new RenderGrid(element, std::move(style));
</del><ins>+        return createRenderer&lt;RenderGrid&gt;(element, std::move(style));
</ins><span class="cx">     }
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx">     return nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/rendering/RenderElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~RenderElement();
</span><span class="cx"> 
</span><del>-    static RenderElement* createFor(Element&amp;, PassRef&lt;RenderStyle&gt;);
</del><ins>+    static RenderPtr&lt;RenderElement&gt; createFor(Element&amp;, PassRef&lt;RenderStyle&gt;);
</ins><span class="cx"> 
</span><span class="cx">     bool hasInitializedStyle() const { return m_hasInitializedStyle; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderEmbeddedObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderEmbeddedObject.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderEmbeddedObject.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/rendering/RenderEmbeddedObject.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -116,9 +116,9 @@
</span><span class="cx">     view().frameView().removeEmbeddedObjectToUpdate(*this);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderEmbeddedObject* RenderEmbeddedObject::createForApplet(HTMLAppletElement&amp; applet, PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderEmbeddedObject&gt; RenderEmbeddedObject::createForApplet(HTMLAppletElement&amp; applet, PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    RenderEmbeddedObject* renderer = new RenderEmbeddedObject(applet, std::move(style));
</del><ins>+    auto renderer = createRenderer&lt;RenderEmbeddedObject&gt;(applet, std::move(style));
</ins><span class="cx">     renderer-&gt;setInline(true);
</span><span class="cx">     return renderer;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderEmbeddedObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderEmbeddedObject.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderEmbeddedObject.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/rendering/RenderEmbeddedObject.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">     RenderEmbeddedObject(HTMLFrameOwnerElement&amp;, PassRef&lt;RenderStyle&gt;);
</span><span class="cx">     virtual ~RenderEmbeddedObject();
</span><span class="cx"> 
</span><del>-    static RenderEmbeddedObject* createForApplet(HTMLAppletElement&amp;, PassRef&lt;RenderStyle&gt;);
</del><ins>+    static RenderPtr&lt;RenderEmbeddedObject&gt; createForApplet(HTMLAppletElement&amp;, PassRef&lt;RenderStyle&gt;);
</ins><span class="cx"> 
</span><span class="cx">     enum PluginUnavailabilityReason {
</span><span class="cx">         PluginMissing,
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleResolveTreecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleResolveTree.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleResolveTree.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/style/StyleResolveTree.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -237,7 +237,7 @@
</span><span class="cx">         nextRenderer = nextSiblingRenderer(element, renderingParentNode);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RenderElement* newRenderer = element.createRenderer(style.releaseNonNull());
</del><ins>+    RenderElement* newRenderer = element.createElementRenderer(style.releaseNonNull()).leakPtr();
</ins><span class="cx">     if (!newRenderer)
</span><span class="cx">         return;
</span><span class="cx">     if (!parentRenderer-&gt;isChildAllowed(*newRenderer, newRenderer-&gt;style())) {
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGAElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -139,12 +139,12 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGAElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGAElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (parentNode() &amp;&amp; parentNode()-&gt;isSVGElement() &amp;&amp; toSVGElement(parentNode())-&gt;isTextContent())
</span><del>-        return new RenderSVGInline(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderSVGInline&gt;(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return new RenderSVGTransformableContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTransformableContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGAElement::defaultEventHandler(Event* event)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGAElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual void defaultEventHandler(Event*);
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAltGlyphElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -82,9 +82,9 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGAltGlyphElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGAltGlyphElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGTSpan(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTSpan&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGAltGlyphElement::hasValidGlyphElements(Vector&lt;String&gt;&amp; glyphNames) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAltGlyphElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAltGlyphElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAltGlyphElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGAltGlyphElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGAltGlyphElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGCircleElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGCircleElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGCircleElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGCircleElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -139,9 +139,9 @@
</span><span class="cx">         || r().isRelative();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGCircleElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGCircleElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGEllipse(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGEllipse&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGCircleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGCircleElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGCircleElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGCircleElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCircleElement)
</span><span class="cx">         DECLARE_ANIMATED_LENGTH(Cx, cx)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGClipPathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGClipPathElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGClipPathElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGClipPathElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -114,9 +114,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGClipPathElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGClipPathElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceClipper(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceClipper&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGClipPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGClipPathElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGClipPathElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGClipPathElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGClipPathElement)
</span><span class="cx">         DECLARE_ANIMATED_ENUMERATION(ClipPathUnits, clipPathUnits, SVGUnitTypes::SVGUnitType)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGDefsElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGDefsElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGDefsElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGDefsElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -53,9 +53,9 @@
</span><span class="cx">     return SVGTests::isValid();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGDefsElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGDefsElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGHiddenContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGHiddenContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGDefsElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGDefsElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGDefsElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGDefsElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool isValid() const;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGDefsElement)
</span><span class="cx">         DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGEllipseElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGEllipseElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGEllipseElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGEllipseElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -145,9 +145,9 @@
</span><span class="cx">         || ry().isRelative();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGEllipseElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGEllipseElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGEllipse(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGEllipse&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGEllipseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGEllipseElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGEllipseElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGEllipseElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGEllipseElement)
</span><span class="cx">         DECLARE_ANIMATED_LENGTH(Cx, cx)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFilterElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFilterElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFilterElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGFilterElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -188,9 +188,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGFilterElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGFilterElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceFilter(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceFilter&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGFilterElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFilterElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFilterElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFilterElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGFilterElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFilterPrimitiveStandardAttributescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -142,9 +142,9 @@
</span><span class="cx">         filterEffect-&gt;setHasHeight(true);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGFilterPrimitiveStandardAttributes::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGFilterPrimitiveStandardAttributes::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceFilterPrimitive(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceFilterPrimitive&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGFilterPrimitiveStandardAttributes::rendererIsNeeded(const RenderStyle&amp; style)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFilterPrimitiveStandardAttributesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> private:
</span><span class="cx">     virtual bool isFilterEffect() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE { return false; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGForeignObjectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -126,9 +126,9 @@
</span><span class="cx">         RenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGForeignObjectElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGForeignObjectElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGForeignObject(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGForeignObject&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGForeignObjectElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGForeignObjectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGForeignObjectElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGForeignObjectElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGForeignObjectElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGGElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -89,16 +89,16 @@
</span><span class="cx">         RenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGGElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGGElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     // SVG 1.1 testsuite explicitely uses constructs like &lt;g display=&quot;none&quot;&gt;&lt;linearGradient&gt;
</span><span class="cx">     // We still have to create renderers for the &lt;g&gt; &amp; &lt;linearGradient&gt; element, though the
</span><span class="cx">     // subtree may be hidden - we only want the resource renderers to exist so they can be
</span><span class="cx">     // referenced from somewhere else.
</span><span class="cx">     if (style.get().display() == NONE)
</span><del>-        return new RenderSVGHiddenContainer(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderSVGHiddenContainer&gt;(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return new RenderSVGTransformableContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTransformableContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGGElement::rendererIsNeeded(const RenderStyle&amp;)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGGElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGGElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); }
</span><span class="cx">     virtual bool supportsFocus() const OVERRIDE { return true; }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGraphicsElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGraphicsElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGraphicsElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGGraphicsElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -162,10 +162,10 @@
</span><span class="cx">     return SVGTransformable::getBBox(this, styleUpdateStrategy);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGGraphicsElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGGraphicsElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     // By default, any subclass is expected to do path-based drawing
</span><del>-    return new RenderSVGPath(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGPath&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGGraphicsElement::toClipPath(Path&amp; path)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGraphicsElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGraphicsElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGraphicsElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGGraphicsElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> 
</span><span class="cx">     // &quot;base class&quot; methods for all the elements which render as paths
</span><span class="cx">     virtual void toClipPath(Path&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     SVGGraphicsElement(const QualifiedName&amp;, Document&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGImageElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGImageElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGImageElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGImageElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -182,9 +182,9 @@
</span><span class="cx">         || height().isRelative();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGImageElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGImageElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGImage(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGImage&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGImageElement::haveLoadedRequiredResources()
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGImageElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGImageElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGImageElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx">     virtual void didAttachRenderers() OVERRIDE;
</span><span class="cx">     virtual InsertionNotificationRequest insertedInto(ContainerNode&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual const AtomicString&amp; imageSourceURL() const OVERRIDE;
</span><span class="cx">     virtual void addSubresourceAttributeURLs(ListHashSet&lt;URL&gt;&amp;) const;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLinearGradientElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -118,9 +118,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGLinearGradientElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGLinearGradientElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceLinearGradient(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceLinearGradient&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGLinearGradientElement::collectGradientAttributes(LinearGradientAttributes&amp; attributes)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLinearGradientElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLinearGradientElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLinearGradientElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGLinearGradientElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMarkerElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMarkerElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMarkerElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGMarkerElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -214,9 +214,9 @@
</span><span class="cx">     svgAttributeChanged(orientAnglePropertyInfo()-&gt;attributeName);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGMarkerElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGMarkerElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceMarker(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceMarker&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGMarkerElement::selfHasRelativeLengths() const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMarkerElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMarkerElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMarkerElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGMarkerElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -130,7 +130,7 @@
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) { return true; }
</span><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMaskElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMaskElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMaskElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGMaskElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -157,9 +157,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGMaskElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGMaskElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceMasker(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceMasker&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGMaskElement::selfHasRelativeLengths() const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMaskElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMaskElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMaskElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGMaskElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPathElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPathElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGPathElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -404,10 +404,10 @@
</span><span class="cx">     return renderer-&gt;path().boundingRect();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGPathElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGPathElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     // By default, any subclass is expected to do path-based drawing
</span><del>-    return new RenderSVGPath(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGPath&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPathElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPathElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGPathElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx">         DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual Node::InsertionNotificationRequest insertedInto(ContainerNode&amp;) OVERRIDE;
</span><span class="cx">     virtual void removedFrom(ContainerNode&amp;) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPatternElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPatternElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPatternElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGPatternElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -182,9 +182,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGPatternElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGPatternElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourcePattern(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourcePattern&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGPatternElement::collectPatternAttributes(PatternAttributes&amp; attributes) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPatternElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPatternElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPatternElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGPatternElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx">     virtual void childrenChanged(const ChildChange&amp;) OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRadialGradientElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -130,9 +130,9 @@
</span><span class="cx">         object-&gt;setNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGRadialGradientElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGRadialGradientElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGResourceRadialGradient(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGResourceRadialGradient&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGRadialGradientElement::collectGradientAttributes(RadialGradientAttributes&amp; attributes)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRadialGradientElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRadialGradientElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRadialGradientElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGRadialGradientElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRectElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRectElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGRectElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -160,9 +160,9 @@
</span><span class="cx">         || ry().isRelative();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGRectElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGRectElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGRect(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGRect&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRectElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRectElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGRectElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGRectElement)
</span><span class="cx">         DECLARE_ANIMATED_LENGTH(X, x)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSVGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSVGElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSVGElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSVGElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -478,12 +478,12 @@
</span><span class="cx">     return StyledElement::rendererIsNeeded(style);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGSVGElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGSVGElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><span class="cx">     if (isOutermostSVGSVGElement())
</span><del>-        return new RenderSVGRoot(*this, std::move(style));
</del><ins>+        return createRenderer&lt;RenderSVGRoot&gt;(*this, std::move(style));
</ins><span class="cx"> 
</span><del>-    return new RenderSVGViewportContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGViewportContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> Node::InsertionNotificationRequest SVGSVGElement::insertedInto(ContainerNode&amp; rootParent)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSVGElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSVGElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSVGElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSVGElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -142,7 +142,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual InsertionNotificationRequest insertedInto(ContainerNode&amp;) OVERRIDE;
</span><span class="cx">     virtual void removedFrom(ContainerNode&amp;) OVERRIDE;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGStopElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGStopElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGStopElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGStopElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -98,9 +98,9 @@
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGStopElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGStopElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGGradientStop(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGGradientStop&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGStopElement::rendererIsNeeded(const RenderStyle&amp;)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGStopElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGStopElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGStopElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGStopElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool isGradientStop() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) OVERRIDE;
</span><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGStopElement)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSwitchElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSwitchElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSwitchElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSwitchElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -62,9 +62,9 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGSwitchElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGSwitchElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGTransformableContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTransformableContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSwitchElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSwitchElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSwitchElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSwitchElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx">     virtual bool supportsFocus() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSwitchElement)
</span><span class="cx">         DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSymbolElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSymbolElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSymbolElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSymbolElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -101,9 +101,9 @@
</span><span class="cx">     return hasAttribute(SVGNames::viewBoxAttr);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGSymbolElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGSymbolElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGHiddenContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGHiddenContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSymbolElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSymbolElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSymbolElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGSymbolElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">     bool isSupportedAttribute(const QualifiedName&amp;);
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool selfHasRelativeLengths() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTRefElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTRefElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTRefElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTRefElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -220,9 +220,9 @@
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGTRefElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGTRefElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGInline(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGInline&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGTRefElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTRefElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTRefElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTRefElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTRefElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTSpanElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTSpanElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTSpanElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTSpanElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx">     return adoptRef(new SVGTSpanElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGTSpanElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGTSpanElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGTSpan(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTSpan&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGTSpanElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTSpanElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTSpanElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTSpanElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTSpanElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGTSpanElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx">             
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTextElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -68,9 +68,9 @@
</span><span class="cx">     return matrix;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGTextElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGTextElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGText(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGText&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGTextElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTextElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool supportsFocus() const OVERRIDE { return true; }
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextPathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextPathElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextPathElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTextPathElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -127,9 +127,9 @@
</span><span class="cx">         RenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGTextPathElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGTextPathElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGTextPath(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTextPath&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGTextPathElement::childShouldCreateRenderer(const Node&amp; child) const
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextPathElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextPathElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGTextPathElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">     virtual void parseAttribute(const QualifiedName&amp;, const AtomicString&amp;) OVERRIDE;
</span><span class="cx">     virtual void svgAttributeChanged(const QualifiedName&amp;);
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const OVERRIDE;
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGUseElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGUseElement.cpp (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGUseElement.cpp        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGUseElement.cpp        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -519,9 +519,9 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RenderElement* SVGUseElement::createRenderer(PassRef&lt;RenderStyle&gt; style)
</del><ins>+RenderPtr&lt;RenderElement&gt; SVGUseElement::createElementRenderer(PassRef&lt;RenderStyle&gt; style)
</ins><span class="cx"> {
</span><del>-    return new RenderSVGTransformableContainer(*this, std::move(style));
</del><ins>+    return createRenderer&lt;RenderSVGTransformableContainer&gt;(*this, std::move(style));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static bool isDirectReference(const Node* node)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGUseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGUseElement.h (161180 => 161181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGUseElement.h        2013-12-31 10:26:49 UTC (rev 161180)
+++ trunk/Source/WebCore/svg/SVGUseElement.h        2013-12-31 14:05:28 UTC (rev 161181)
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void willAttachRenderers() OVERRIDE;
</span><span class="cx"> 
</span><del>-    virtual RenderElement* createRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</del><ins>+    virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) OVERRIDE;
</ins><span class="cx">     virtual void toClipPath(Path&amp;);
</span><span class="cx"> 
</span><span class="cx">     void clearResourceReferences();
</span></span></pre>
</div>
</div>

</body>
</html>