<!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>[183611] 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/183611">183611</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2015-04-29 20:21:27 -0700 (Wed, 29 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove PassRefPtr in SVGFEFooElement classes
https://bugs.webkit.org/show_bug.cgi?id=144425

Reviewed by Darin Adler.

As a step to use Ref instead of PassRefPtr, this patch purges PassRefPtr
in SVGFEFooElement.

No new tests, no behavior changes.

* css/RGBColor.cpp:
(WebCore::RGBColor::create):
* css/RGBColor.h:
* platform/graphics/filters/PointLightSource.h:
(WebCore::PointLightSource::create):
* platform/graphics/filters/SpotLightSource.h:
(WebCore::SpotLightSource::create):
* svg/SVGColor.cpp:
(WebCore::SVGColor::rgbColor):
* svg/SVGColor.h:
* svg/SVGFEDistantLightElement.cpp:
(WebCore::SVGFEDistantLightElement::lightSource):
* svg/SVGFEDistantLightElement.h:
* svg/SVGFELightElement.cpp:
(WebCore::SVGFELightElement::findLightSource):
* svg/SVGFELightElement.h:
* svg/SVGFEPointLightElement.cpp:
(WebCore::SVGFEPointLightElement::lightSource):
* svg/SVGFEPointLightElement.h:
* svg/SVGFESpotLightElement.cpp:
(WebCore::SVGFESpotLightElement::lightSource):
* svg/SVGFESpotLightElement.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssRGBColorcpp">trunk/Source/WebCore/css/RGBColor.cpp</a></li>
<li><a href="#trunkSourceWebCorecssRGBColorh">trunk/Source/WebCore/css/RGBColor.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsfiltersPointLightSourceh">trunk/Source/WebCore/platform/graphics/filters/PointLightSource.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsfiltersSpotLightSourceh">trunk/Source/WebCore/platform/graphics/filters/SpotLightSource.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGColorcpp">trunk/Source/WebCore/svg/SVGColor.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGColorh">trunk/Source/WebCore/svg/SVGColor.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEDistantLightElementcpp">trunk/Source/WebCore/svg/SVGFEDistantLightElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEDistantLightElementh">trunk/Source/WebCore/svg/SVGFEDistantLightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFELightElementcpp">trunk/Source/WebCore/svg/SVGFELightElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFELightElementh">trunk/Source/WebCore/svg/SVGFELightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEPointLightElementcpp">trunk/Source/WebCore/svg/SVGFEPointLightElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEPointLightElementh">trunk/Source/WebCore/svg/SVGFEPointLightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFESpotLightElementcpp">trunk/Source/WebCore/svg/SVGFESpotLightElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFESpotLightElementh">trunk/Source/WebCore/svg/SVGFESpotLightElement.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/ChangeLog        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -1,3 +1,38 @@
</span><ins>+2015-04-29  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Remove PassRefPtr in SVGFEFooElement classes
+        https://bugs.webkit.org/show_bug.cgi?id=144425
+
+        Reviewed by Darin Adler.
+
+        As a step to use Ref instead of PassRefPtr, this patch purges PassRefPtr
+        in SVGFEFooElement.
+
+        No new tests, no behavior changes.
+
+        * css/RGBColor.cpp:
+        (WebCore::RGBColor::create):
+        * css/RGBColor.h:
+        * platform/graphics/filters/PointLightSource.h:
+        (WebCore::PointLightSource::create):
+        * platform/graphics/filters/SpotLightSource.h:
+        (WebCore::SpotLightSource::create):
+        * svg/SVGColor.cpp:
+        (WebCore::SVGColor::rgbColor):
+        * svg/SVGColor.h:
+        * svg/SVGFEDistantLightElement.cpp:
+        (WebCore::SVGFEDistantLightElement::lightSource):
+        * svg/SVGFEDistantLightElement.h:
+        * svg/SVGFELightElement.cpp:
+        (WebCore::SVGFELightElement::findLightSource):
+        * svg/SVGFELightElement.h:
+        * svg/SVGFEPointLightElement.cpp:
+        (WebCore::SVGFEPointLightElement::lightSource):
+        * svg/SVGFEPointLightElement.h:
+        * svg/SVGFESpotLightElement.cpp:
+        (WebCore::SVGFESpotLightElement::lightSource):
+        * svg/SVGFESpotLightElement.h:
+
</ins><span class="cx"> 2015-04-29  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Create a named CSS property for system colors
</span></span></pre></div>
<a id="trunkSourceWebCorecssRGBColorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/RGBColor.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/RGBColor.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/css/RGBColor.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -30,9 +30,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RGBColor&gt; RGBColor::create(unsigned rgbColor)
</del><ins>+Ref&lt;RGBColor&gt; RGBColor::create(unsigned rgbColor)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new RGBColor(rgbColor));
</del><ins>+    return adoptRef(*new RGBColor(rgbColor));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;CSSPrimitiveValue&gt; RGBColor::red()
</span></span></pre></div>
<a id="trunkSourceWebCorecssRGBColorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/RGBColor.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/RGBColor.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/css/RGBColor.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> 
</span><span class="cx">     class RGBColor : public RefCounted&lt;RGBColor&gt; {
</span><span class="cx">     public:
</span><del>-        static PassRefPtr&lt;RGBColor&gt; create(unsigned rgbColor);
</del><ins>+        static Ref&lt;RGBColor&gt; create(unsigned rgbColor);
</ins><span class="cx"> 
</span><span class="cx">         PassRefPtr&lt;CSSPrimitiveValue&gt; red();
</span><span class="cx">         PassRefPtr&lt;CSSPrimitiveValue&gt; green();
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsfiltersPointLightSourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/filters/PointLightSource.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/filters/PointLightSource.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/platform/graphics/filters/PointLightSource.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -29,9 +29,9 @@
</span><span class="cx"> 
</span><span class="cx"> class PointLightSource : public LightSource {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;PointLightSource&gt; create(const FloatPoint3D&amp; position)
</del><ins>+    static Ref&lt;PointLightSource&gt; create(const FloatPoint3D&amp; position)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new PointLightSource(position));
</del><ins>+        return adoptRef(*new PointLightSource(position));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const FloatPoint3D&amp; position() const { return m_position; }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsfiltersSpotLightSourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/filters/SpotLightSource.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/filters/SpotLightSource.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/platform/graphics/filters/SpotLightSource.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -29,10 +29,10 @@
</span><span class="cx"> 
</span><span class="cx"> class SpotLightSource : public LightSource {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;SpotLightSource&gt; create(const FloatPoint3D&amp; position,
</del><ins>+    static Ref&lt;SpotLightSource&gt; create(const FloatPoint3D&amp; position,
</ins><span class="cx">         const FloatPoint3D&amp; direction, float specularExponent, float limitingConeAngle)
</span><span class="cx">     {
</span><del>-        return adoptRef(new SpotLightSource(position, direction, specularExponent, limitingConeAngle));
</del><ins>+        return adoptRef(*new SpotLightSource(position, direction, specularExponent, limitingConeAngle));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const FloatPoint3D&amp; position() const { return m_position; }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGColorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGColor.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGColor.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGColor.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RGBColor&gt; SVGColor::rgbColor() const
</del><ins>+Ref&lt;RGBColor&gt; SVGColor::rgbColor() const
</ins><span class="cx"> {
</span><span class="cx">     return RGBColor::create(m_color.rgb());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGColorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGColor.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGColor.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGColor.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> 
</span><span class="cx">     const Color&amp; color() const { return m_color; }
</span><span class="cx">     const SVGColorType&amp; colorType() const { return m_colorType; }
</span><del>-    PassRefPtr&lt;RGBColor&gt; rgbColor() const;
</del><ins>+    Ref&lt;RGBColor&gt; rgbColor() const;
</ins><span class="cx"> 
</span><span class="cx">     static Color colorFromRGBColorString(const String&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEDistantLightElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEDistantLightElement.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEDistantLightElement.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFEDistantLightElement.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">     return adoptRef(*new SVGFEDistantLightElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LightSource&gt; SVGFEDistantLightElement::lightSource() const
</del><ins>+Ref&lt;LightSource&gt; SVGFEDistantLightElement::lightSource() const
</ins><span class="cx"> {
</span><span class="cx">     return DistantLightSource::create(azimuth(), elevation());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEDistantLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEDistantLightElement.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEDistantLightElement.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFEDistantLightElement.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGFEDistantLightElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</del><ins>+    virtual Ref&lt;LightSource&gt; lightSource() const override;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFELightElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFELightElement.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFELightElement.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFELightElement.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LightSource&gt; SVGFELightElement::findLightSource(const SVGElement* svgElement)
</del><ins>+RefPtr&lt;LightSource&gt; SVGFELightElement::findLightSource(const SVGElement* svgElement)
</ins><span class="cx"> {
</span><span class="cx">     SVGFELightElement* lightNode = findLightElement(svgElement);
</span><span class="cx">     if (!lightNode)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFELightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFELightElement.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFELightElement.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFELightElement.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -30,9 +30,9 @@
</span><span class="cx"> 
</span><span class="cx"> class SVGFELightElement : public SVGElement {
</span><span class="cx"> public:
</span><del>-    virtual PassRefPtr&lt;LightSource&gt; lightSource() const = 0;
</del><ins>+    virtual Ref&lt;LightSource&gt; lightSource() const = 0;
</ins><span class="cx">     static SVGFELightElement* findLightElement(const SVGElement*);
</span><del>-    static PassRefPtr&lt;LightSource&gt; findLightSource(const SVGElement*);
</del><ins>+    static RefPtr&lt;LightSource&gt; findLightSource(const SVGElement*);
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     SVGFELightElement(const QualifiedName&amp;, Document&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEPointLightElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEPointLightElement.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEPointLightElement.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFEPointLightElement.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">     return adoptRef(*new SVGFEPointLightElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LightSource&gt; SVGFEPointLightElement::lightSource() const
</del><ins>+Ref&lt;LightSource&gt; SVGFEPointLightElement::lightSource() const
</ins><span class="cx"> {
</span><span class="cx">     return PointLightSource::create(FloatPoint3D(x(), y(), z()));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEPointLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEPointLightElement.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEPointLightElement.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFEPointLightElement.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGFEPointLightElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</del><ins>+    virtual Ref&lt;LightSource&gt; lightSource() const override;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFESpotLightElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFESpotLightElement.cpp (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFESpotLightElement.cpp        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFESpotLightElement.cpp        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">     return adoptRef(*new SVGFESpotLightElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LightSource&gt; SVGFESpotLightElement::lightSource() const
</del><ins>+Ref&lt;LightSource&gt; SVGFESpotLightElement::lightSource() const
</ins><span class="cx"> {
</span><span class="cx">     FloatPoint3D pos(x(), y(), z());
</span><span class="cx">     FloatPoint3D direction(pointsAtX(), pointsAtY(), pointsAtZ());
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFESpotLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFESpotLightElement.h (183610 => 183611)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFESpotLightElement.h        2015-04-30 03:15:23 UTC (rev 183610)
+++ trunk/Source/WebCore/svg/SVGFESpotLightElement.h        2015-04-30 03:21:27 UTC (rev 183611)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> private:
</span><span class="cx">     SVGFESpotLightElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</del><ins>+    virtual Ref&lt;LightSource&gt; lightSource() const override;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre>
</div>
</div>

</body>
</html>