<!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>[161184] 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/161184">161184</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2013-12-31 08:40:50 -0800 (Tue, 31 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Out-of-line RenderStyle substructure copying helpers.
<https://webkit.org/b/126340>
This shrinks the .access() calls by moving memory allocation logic
out-of-line, though I'm really doing this to make Instruments.app
allocations output more readable.
Writes to e.g 'font' or 'color' will now be grouped under a single
StyleInheritedData::copy() call instead of being spread out over
setFontDescription(), setLineHeight(), setColor(), etc.
Reviewed by Anders Carlsson.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleNinePieceImagecpp">trunk/Source/WebCore/rendering/style/NinePieceImage.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleNinePieceImageh">trunk/Source/WebCore/rendering/style/NinePieceImage.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStylecpp">trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleh">trunk/Source/WebCore/rendering/style/SVGRenderStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleDefscpp">trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleDefsh">trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleBackgroundDatacpp">trunk/Source/WebCore/rendering/style/StyleBackgroundData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleBackgroundDatah">trunk/Source/WebCore/rendering/style/StyleBackgroundData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleBoxDatacpp">trunk/Source/WebCore/rendering/style/StyleBoxData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleBoxDatah">trunk/Source/WebCore/rendering/style/StyleBoxData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleDeprecatedFlexibleBoxDatacpp">trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleDeprecatedFlexibleBoxDatah">trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleFilterDatacpp">trunk/Source/WebCore/rendering/style/StyleFilterData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleFilterDatah">trunk/Source/WebCore/rendering/style/StyleFilterData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleFlexibleBoxDatacpp">trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleFlexibleBoxDatah">trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGridDatacpp">trunk/Source/WebCore/rendering/style/StyleGridData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGridDatah">trunk/Source/WebCore/rendering/style/StyleGridData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGridItemDatacpp">trunk/Source/WebCore/rendering/style/StyleGridItemData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGridItemDatah">trunk/Source/WebCore/rendering/style/StyleGridItemData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleInheritedDatacpp">trunk/Source/WebCore/rendering/style/StyleInheritedData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleInheritedDatah">trunk/Source/WebCore/rendering/style/StyleInheritedData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleMarqueeDatacpp">trunk/Source/WebCore/rendering/style/StyleMarqueeData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleMarqueeDatah">trunk/Source/WebCore/rendering/style/StyleMarqueeData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleMultiColDatacpp">trunk/Source/WebCore/rendering/style/StyleMultiColData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleMultiColDatah">trunk/Source/WebCore/rendering/style/StyleMultiColData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareInheritedDatacpp">trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareInheritedDatah">trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareNonInheritedDatacpp">trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareNonInheritedDatah">trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleSurroundDatacpp">trunk/Source/WebCore/rendering/style/StyleSurroundData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleSurroundDatah">trunk/Source/WebCore/rendering/style/StyleSurroundData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleTransformDatacpp">trunk/Source/WebCore/rendering/style/StyleTransformData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleTransformDatah">trunk/Source/WebCore/rendering/style/StyleTransformData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleVisualDatacpp">trunk/Source/WebCore/rendering/style/StyleVisualData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleVisualDatah">trunk/Source/WebCore/rendering/style/StyleVisualData.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/ChangeLog        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -1,5 +1,20 @@
</span><span class="cx"> 2013-12-31 Andreas Kling <akling@apple.com>
</span><span class="cx">
</span><ins>+ Out-of-line RenderStyle substructure copying helpers.
+ <https://webkit.org/b/126340>
+
+ This shrinks the .access() calls by moving memory allocation logic
+ out-of-line, though I'm really doing this to make Instruments.app
+ allocations output more readable.
+
+ Writes to e.g 'font' or 'color' will now be grouped under a single
+ StyleInheritedData::copy() call instead of being spread out over
+ setFontDescription(), setLineHeight(), setColor(), etc.
+
+ Reviewed by Anders Carlsson.
+
+2013-12-31 Andreas Kling <akling@apple.com>
+
</ins><span class="cx"> RenderListItem should store its marker in a RenderPtr.
</span><span class="cx"> <https://webkit.org/b/126298>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleNinePieceImagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/NinePieceImage.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/NinePieceImage.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/NinePieceImage.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-NinePieceImageData::NinePieceImageData(const NinePieceImageData& other)
</del><ins>+inline NinePieceImageData::NinePieceImageData(const NinePieceImageData& other)
</ins><span class="cx"> : RefCounted<NinePieceImageData>()
</span><span class="cx"> , fill(other.fill)
</span><span class="cx"> , horizontalRule(other.horizontalRule)
</span><span class="lines">@@ -73,6 +73,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<NinePieceImageData> NinePieceImageData::copy() const
+{
+ return adoptRef(*new NinePieceImageData(*this));
+}
+
</ins><span class="cx"> bool NinePieceImageData::operator==(const NinePieceImageData& other) const
</span><span class="cx"> {
</span><span class="cx"> return StyleImage::imagesEquivalent(image.get(), other.image.get())
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleNinePieceImageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/NinePieceImage.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/NinePieceImage.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/NinePieceImage.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> class NinePieceImageData : public RefCounted<NinePieceImageData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<NinePieceImageData> create() { return adoptRef(*new NinePieceImageData); }
</span><del>- PassRef<NinePieceImageData> copy() const { return adoptRef(*new NinePieceImageData(*this)); }
</del><ins>+ PassRef<NinePieceImageData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const NinePieceImageData&) const;
</span><span class="cx"> bool operator!=(const NinePieceImageData& o) const { return !(*this == o); }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx"> setBitDefaults();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-SVGRenderStyle::SVGRenderStyle(const SVGRenderStyle& other)
</del><ins>+inline SVGRenderStyle::SVGRenderStyle(const SVGRenderStyle& other)
</ins><span class="cx"> : RefCounted<SVGRenderStyle>()
</span><span class="cx"> , svg_inherited_flags(other.svg_inherited_flags)
</span><span class="cx"> , svg_noninherited_flags(other.svg_noninherited_flags)
</span><span class="lines">@@ -91,6 +91,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<SVGRenderStyle> SVGRenderStyle::copy() const
+{
+ return adoptRef(*new SVGRenderStyle(*this));
+}
+
</ins><span class="cx"> SVGRenderStyle::~SVGRenderStyle()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<SVGRenderStyle> createDefaultStyle();
</span><span class="cx"> static PassRef<SVGRenderStyle> create() { return adoptRef(*new SVGRenderStyle); }
</span><del>- PassRef<SVGRenderStyle> copy() const { return adoptRef(*new SVGRenderStyle(*this));}
</del><ins>+ PassRef<SVGRenderStyle> copy() const;
</ins><span class="cx"> ~SVGRenderStyle();
</span><span class="cx">
</span><span class="cx"> bool inheritedNotEqual(const SVGRenderStyle*) const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleDefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleFillData::StyleFillData(const StyleFillData& other)
</del><ins>+inline StyleFillData::StyleFillData(const StyleFillData& other)
</ins><span class="cx"> : RefCounted<StyleFillData>()
</span><span class="cx"> , opacity(other.opacity)
</span><span class="cx"> , paintType(other.paintType)
</span><span class="lines">@@ -58,6 +58,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleFillData> StyleFillData::copy() const
+{
+ return adoptRef(*new StyleFillData(*this));
+}
+
</ins><span class="cx"> bool StyleFillData::operator==(const StyleFillData& other) const
</span><span class="cx"> {
</span><span class="cx"> return opacity == other.opacity
</span><span class="lines">@@ -84,7 +89,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
</del><ins>+inline StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
</ins><span class="cx"> : RefCounted<StyleStrokeData>()
</span><span class="cx"> , opacity(other.opacity)
</span><span class="cx"> , miterLimit(other.miterLimit)
</span><span class="lines">@@ -100,6 +105,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleStrokeData> StyleStrokeData::copy() const
+{
+ return adoptRef(*new StyleStrokeData(*this));
+}
+
</ins><span class="cx"> bool StyleStrokeData::operator==(const StyleStrokeData& other) const
</span><span class="cx"> {
</span><span class="cx"> return width == other.width
</span><span class="lines">@@ -121,13 +131,18 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleStopData::StyleStopData(const StyleStopData& other)
</del><ins>+inline StyleStopData::StyleStopData(const StyleStopData& other)
</ins><span class="cx"> : RefCounted<StyleStopData>()
</span><span class="cx"> , opacity(other.opacity)
</span><span class="cx"> , color(other.color)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleStopData> StyleStopData::copy() const
+{
+ return adoptRef(*new StyleStopData(*this));
+}
+
</ins><span class="cx"> bool StyleStopData::operator==(const StyleStopData& other) const
</span><span class="cx"> {
</span><span class="cx"> return color == other.color
</span><span class="lines">@@ -139,12 +154,17 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleTextData::StyleTextData(const StyleTextData& other)
</del><ins>+inline StyleTextData::StyleTextData(const StyleTextData& other)
</ins><span class="cx"> : RefCounted<StyleTextData>()
</span><span class="cx"> , kerning(other.kerning)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleTextData> StyleTextData::copy() const
+{
+ return adoptRef(*new StyleTextData(*this));
+}
+
</ins><span class="cx"> bool StyleTextData::operator==(const StyleTextData& other) const
</span><span class="cx"> {
</span><span class="cx"> return kerning == other.kerning;
</span><span class="lines">@@ -158,7 +178,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleMiscData::StyleMiscData(const StyleMiscData& other)
</del><ins>+inline StyleMiscData::StyleMiscData(const StyleMiscData& other)
</ins><span class="cx"> : RefCounted<StyleMiscData>()
</span><span class="cx"> , floodColor(other.floodColor)
</span><span class="cx"> , floodOpacity(other.floodOpacity)
</span><span class="lines">@@ -167,6 +187,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleMiscData> StyleMiscData::copy() const
+{
+ return adoptRef(*new StyleMiscData(*this));
+}
+
</ins><span class="cx"> bool StyleMiscData::operator==(const StyleMiscData& other) const
</span><span class="cx"> {
</span><span class="cx"> return floodOpacity == other.floodOpacity
</span><span class="lines">@@ -179,12 +204,17 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleShadowSVGData::StyleShadowSVGData(const StyleShadowSVGData& other)
</del><ins>+inline StyleShadowSVGData::StyleShadowSVGData(const StyleShadowSVGData& other)
</ins><span class="cx"> : RefCounted<StyleShadowSVGData>()
</span><span class="cx"> , shadow(other.shadow ? adoptPtr(new ShadowData(*other.shadow)) : nullptr)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleShadowSVGData> StyleShadowSVGData::copy() const
+{
+ return adoptRef(*new StyleShadowSVGData(*this));
+}
+
</ins><span class="cx"> bool StyleShadowSVGData::operator==(const StyleShadowSVGData& other) const
</span><span class="cx"> {
</span><span class="cx"> if ((!shadow && other.shadow) || (shadow && !other.shadow))
</span><span class="lines">@@ -201,7 +231,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleResourceData::StyleResourceData(const StyleResourceData& other)
</del><ins>+inline StyleResourceData::StyleResourceData(const StyleResourceData& other)
</ins><span class="cx"> : RefCounted<StyleResourceData>()
</span><span class="cx"> , clipper(other.clipper)
</span><span class="cx"> , filter(other.filter)
</span><span class="lines">@@ -209,6 +239,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleResourceData> StyleResourceData::copy() const
+{
+ return adoptRef(*new StyleResourceData(*this));
+}
+
</ins><span class="cx"> bool StyleResourceData::operator==(const StyleResourceData& other) const
</span><span class="cx"> {
</span><span class="cx"> return clipper == other.clipper
</span><span class="lines">@@ -223,7 +258,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleInheritedResourceData::StyleInheritedResourceData(const StyleInheritedResourceData& other)
</del><ins>+inline StyleInheritedResourceData::StyleInheritedResourceData(const StyleInheritedResourceData& other)
</ins><span class="cx"> : RefCounted<StyleInheritedResourceData>()
</span><span class="cx"> , markerStart(other.markerStart)
</span><span class="cx"> , markerMid(other.markerMid)
</span><span class="lines">@@ -231,6 +266,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleInheritedResourceData> StyleInheritedResourceData::copy() const
+{
+ return adoptRef(*new StyleInheritedResourceData(*this));
+}
+
</ins><span class="cx"> bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& other) const
</span><span class="cx"> {
</span><span class="cx"> return markerStart == other.markerStart
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleDefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx"> class StyleFillData : public RefCounted<StyleFillData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleFillData> create() { return adoptRef(*new StyleFillData); }
</span><del>- PassRef<StyleFillData> copy() const { return adoptRef(*new StyleFillData(*this)); }
</del><ins>+ PassRef<StyleFillData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleFillData&) const;
</span><span class="cx"> bool operator!=(const StyleFillData& other) const
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx"> class StyleStrokeData : public RefCounted<StyleStrokeData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleStrokeData> create() { return adoptRef(*new StyleStrokeData); }
</span><del>- PassRef<StyleStrokeData> copy() const { return adoptRef(*new StyleStrokeData(*this)); }
</del><ins>+ PassRef<StyleStrokeData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleStrokeData&) const;
</span><span class="cx"> bool operator!=(const StyleStrokeData& other) const
</span><span class="lines">@@ -156,7 +156,7 @@
</span><span class="cx"> class StyleStopData : public RefCounted<StyleStopData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleStopData> create() { return adoptRef(*new StyleStopData); }
</span><del>- PassRef<StyleStopData> copy() const { return adoptRef(*new StyleStopData(*this)); }
</del><ins>+ PassRef<StyleStopData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleStopData&) const;
</span><span class="cx"> bool operator!=(const StyleStopData& other) const
</span><span class="lines">@@ -175,7 +175,7 @@
</span><span class="cx"> class StyleTextData : public RefCounted<StyleTextData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleTextData> create() { return adoptRef(*new StyleTextData); }
</span><del>- PassRef<StyleTextData> copy() const { return adoptRef(*new StyleTextData(*this)); }
</del><ins>+ PassRef<StyleTextData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleTextData& other) const;
</span><span class="cx"> bool operator!=(const StyleTextData& other) const
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx"> class StyleMiscData : public RefCounted<StyleMiscData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleMiscData> create() { return adoptRef(*new StyleMiscData); }
</span><del>- PassRef<StyleMiscData> copy() const { return adoptRef(*new StyleMiscData(*this)); }
</del><ins>+ PassRef<StyleMiscData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleMiscData&) const;
</span><span class="cx"> bool operator!=(const StyleMiscData& other) const
</span><span class="lines">@@ -217,7 +217,7 @@
</span><span class="cx"> class StyleShadowSVGData : public RefCounted<StyleShadowSVGData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleShadowSVGData> create() { return adoptRef(*new StyleShadowSVGData); }
</span><del>- PassRef<StyleShadowSVGData> copy() const { return adoptRef(*new StyleShadowSVGData(*this)); }
</del><ins>+ PassRef<StyleShadowSVGData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleShadowSVGData&) const;
</span><span class="cx"> bool operator!=(const StyleShadowSVGData& other) const
</span><span class="lines">@@ -236,7 +236,7 @@
</span><span class="cx"> class StyleResourceData : public RefCounted<StyleResourceData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleResourceData> create() { return adoptRef(*new StyleResourceData); }
</span><del>- PassRef<StyleResourceData> copy() const { return adoptRef(*new StyleResourceData(*this)); }
</del><ins>+ PassRef<StyleResourceData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleResourceData&) const;
</span><span class="cx"> bool operator!=(const StyleResourceData& other) const
</span><span class="lines">@@ -257,7 +257,7 @@
</span><span class="cx"> class StyleInheritedResourceData : public RefCounted<StyleInheritedResourceData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleInheritedResourceData> create() { return adoptRef(*new StyleInheritedResourceData); }
</span><del>- PassRef<StyleInheritedResourceData> copy() const { return adoptRef(*new StyleInheritedResourceData(*this)); }
</del><ins>+ PassRef<StyleInheritedResourceData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleInheritedResourceData&) const;
</span><span class="cx"> bool operator!=(const StyleInheritedResourceData& other) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleBackgroundDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleBackgroundData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleBackgroundData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleBackgroundData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleBackgroundData::StyleBackgroundData(const StyleBackgroundData& o)
</del><ins>+inline StyleBackgroundData::StyleBackgroundData(const StyleBackgroundData& o)
</ins><span class="cx"> : RefCounted<StyleBackgroundData>()
</span><span class="cx"> , m_background(o.m_background)
</span><span class="cx"> , m_color(o.m_color)
</span><span class="lines">@@ -41,6 +41,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleBackgroundData> StyleBackgroundData::copy() const
+{
+ return adoptRef(*new StyleBackgroundData(*this));
+}
+
</ins><span class="cx"> bool StyleBackgroundData::operator==(const StyleBackgroundData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_background == o.m_background && m_color == o.m_color && m_outline == o.m_outline;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleBackgroundDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleBackgroundData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleBackgroundData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleBackgroundData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> class StyleBackgroundData : public RefCounted<StyleBackgroundData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleBackgroundData> create() { return adoptRef(*new StyleBackgroundData); }
</span><del>- PassRef<StyleBackgroundData> copy() const { return adoptRef(*new StyleBackgroundData(*this)); }
</del><ins>+ PassRef<StyleBackgroundData> copy() const;
</ins><span class="cx"> ~StyleBackgroundData() { }
</span><span class="cx">
</span><span class="cx"> bool operator==(const StyleBackgroundData& o) const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleBoxDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleBoxData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleBoxData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleBoxData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleBoxData::StyleBoxData(const StyleBoxData& o)
</del><ins>+inline StyleBoxData::StyleBoxData(const StyleBoxData& o)
</ins><span class="cx"> : RefCounted<StyleBoxData>()
</span><span class="cx"> , m_width(o.m_width)
</span><span class="cx"> , m_height(o.m_height)
</span><span class="lines">@@ -67,6 +67,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleBoxData> StyleBoxData::copy() const
+{
+ return adoptRef(*new StyleBoxData(*this));
+}
+
</ins><span class="cx"> bool StyleBoxData::operator==(const StyleBoxData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_width == o.m_width
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleBoxDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleBoxData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleBoxData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleBoxData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class StyleBoxData : public RefCounted<StyleBoxData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleBoxData> create() { return adoptRef(*new StyleBoxData); }
</span><del>- PassRef<StyleBoxData> copy() const { return adoptRef(*new StyleBoxData(*this)); }
</del><ins>+ PassRef<StyleBoxData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleBoxData& o) const;
</span><span class="cx"> bool operator!=(const StyleBoxData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleDeprecatedFlexibleBoxDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData(const StyleDeprecatedFlexibleBoxData& o)
</del><ins>+inline StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData(const StyleDeprecatedFlexibleBoxData& o)
</ins><span class="cx"> : RefCounted<StyleDeprecatedFlexibleBoxData>()
</span><span class="cx"> , flex(o.flex)
</span><span class="cx"> , flex_group(o.flex_group)
</span><span class="lines">@@ -49,6 +49,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleDeprecatedFlexibleBoxData> StyleDeprecatedFlexibleBoxData::copy() const
+{
+ return adoptRef(*new StyleDeprecatedFlexibleBoxData(*this));
+}
+
</ins><span class="cx"> bool StyleDeprecatedFlexibleBoxData::operator==(const StyleDeprecatedFlexibleBoxData& o) const
</span><span class="cx"> {
</span><span class="cx"> return flex == o.flex && flex_group == o.flex_group &&
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleDeprecatedFlexibleBoxDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> class StyleDeprecatedFlexibleBoxData : public RefCounted<StyleDeprecatedFlexibleBoxData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleDeprecatedFlexibleBoxData> create() { return adoptRef(*new StyleDeprecatedFlexibleBoxData); }
</span><del>- PassRef<StyleDeprecatedFlexibleBoxData> copy() const { return adoptRef(*new StyleDeprecatedFlexibleBoxData(*this)); }
</del><ins>+ PassRef<StyleDeprecatedFlexibleBoxData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleDeprecatedFlexibleBoxData&) const;
</span><span class="cx"> bool operator!=(const StyleDeprecatedFlexibleBoxData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleFilterDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleFilterData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleFilterData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleFilterData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -39,12 +39,17 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleFilterData::StyleFilterData(const StyleFilterData& o)
</del><ins>+inline StyleFilterData::StyleFilterData(const StyleFilterData& o)
</ins><span class="cx"> : RefCounted<StyleFilterData>()
</span><span class="cx"> , m_operations(o.m_operations)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleFilterData> StyleFilterData::copy() const
+{
+ return adoptRef(*new StyleFilterData(*this));
+}
+
</ins><span class="cx"> bool StyleFilterData::operator==(const StyleFilterData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_operations == o.m_operations;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleFilterDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleFilterData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleFilterData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleFilterData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> class StyleFilterData : public RefCounted<StyleFilterData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleFilterData> create() { return adoptRef(*new StyleFilterData); }
</span><del>- PassRef<StyleFilterData> copy() const { return adoptRef(*new StyleFilterData(*this)); }
</del><ins>+ PassRef<StyleFilterData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleFilterData&) const;
</span><span class="cx"> bool operator!=(const StyleFilterData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleFlexibleBoxDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleFlexibleBoxData::StyleFlexibleBoxData(const StyleFlexibleBoxData& o)
</del><ins>+inline StyleFlexibleBoxData::StyleFlexibleBoxData(const StyleFlexibleBoxData& o)
</ins><span class="cx"> : RefCounted<StyleFlexibleBoxData>()
</span><span class="cx"> , m_flexGrow(o.m_flexGrow)
</span><span class="cx"> , m_flexShrink(o.m_flexShrink)
</span><span class="lines">@@ -49,6 +49,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleFlexibleBoxData> StyleFlexibleBoxData::copy() const
+{
+ return adoptRef(*new StyleFlexibleBoxData(*this));
+}
+
</ins><span class="cx"> bool StyleFlexibleBoxData::operator==(const StyleFlexibleBoxData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_flexGrow == o.m_flexGrow && m_flexShrink == o.m_flexShrink && m_flexBasis == o.m_flexBasis
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleFlexibleBoxDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleFlexibleBoxData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> class StyleFlexibleBoxData : public RefCounted<StyleFlexibleBoxData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleFlexibleBoxData> create() { return adoptRef(*new StyleFlexibleBoxData); }
</span><del>- PassRef<StyleFlexibleBoxData> copy() const { return adoptRef(*new StyleFlexibleBoxData(*this)); }
</del><ins>+ PassRef<StyleFlexibleBoxData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleFlexibleBoxData&) const;
</span><span class="cx"> bool operator!=(const StyleFlexibleBoxData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGridDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGridData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGridData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleGridData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleGridData::StyleGridData(const StyleGridData& o)
</del><ins>+inline StyleGridData::StyleGridData(const StyleGridData& o)
</ins><span class="cx"> : RefCounted<StyleGridData>()
</span><span class="cx"> , m_gridColumns(o.m_gridColumns)
</span><span class="cx"> , m_gridRows(o.m_gridRows)
</span><span class="lines">@@ -59,5 +59,10 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleGridData> StyleGridData::copy() const
+{
+ return adoptRef(*new StyleGridData(*this));
+}
+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGridDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGridData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGridData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleGridData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> class StyleGridData : public RefCounted<StyleGridData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleGridData> create() { return adoptRef(*new StyleGridData); }
</span><del>- PassRef<StyleGridData> copy() const { return adoptRef(*new StyleGridData(*this)); }
</del><ins>+ PassRef<StyleGridData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleGridData& o) const
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGridItemDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGridItemData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGridItemData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleGridItemData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleGridItemData::StyleGridItemData(const StyleGridItemData& o)
</del><ins>+inline StyleGridItemData::StyleGridItemData(const StyleGridItemData& o)
</ins><span class="cx"> : RefCounted<StyleGridItemData>()
</span><span class="cx"> , m_gridColumnStart(o.m_gridColumnStart)
</span><span class="cx"> , m_gridColumnEnd(o.m_gridColumnEnd)
</span><span class="lines">@@ -51,4 +51,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleGridItemData> StyleGridItemData::copy() const
+{
+ return adoptRef(*new StyleGridItemData(*this));
+}
+
</ins><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGridItemDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGridItemData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGridItemData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleGridItemData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> class StyleGridItemData : public RefCounted<StyleGridItemData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleGridItemData> create() { return adoptRef(*new StyleGridItemData); }
</span><del>- PassRef<StyleGridItemData> copy() const { return adoptRef(*new StyleGridItemData(*this)); }
</del><ins>+ PassRef<StyleGridItemData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleGridItemData& o) const
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleInheritedDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleInheritedData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleInheritedData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleInheritedData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleInheritedData::StyleInheritedData(const StyleInheritedData& o)
</del><ins>+inline StyleInheritedData::StyleInheritedData(const StyleInheritedData& o)
</ins><span class="cx"> : RefCounted<StyleInheritedData>()
</span><span class="cx"> , horizontal_border_spacing(o.horizontal_border_spacing)
</span><span class="cx"> , vertical_border_spacing(o.vertical_border_spacing)
</span><span class="lines">@@ -56,6 +56,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleInheritedData> StyleInheritedData::copy() const
+{
+ return adoptRef(*new StyleInheritedData(*this));
+}
+
</ins><span class="cx"> bool StyleInheritedData::operator==(const StyleInheritedData& o) const
</span><span class="cx"> {
</span><span class="cx"> return line_height == o.line_height
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleInheritedDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleInheritedData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleInheritedData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleInheritedData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> class StyleInheritedData : public RefCounted<StyleInheritedData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleInheritedData> create() { return adoptRef(*new StyleInheritedData); }
</span><del>- PassRef<StyleInheritedData> copy() const { return adoptRef(*new StyleInheritedData(*this)); }
</del><ins>+ PassRef<StyleInheritedData> copy() const;
</ins><span class="cx"> ~StyleInheritedData();
</span><span class="cx">
</span><span class="cx"> bool operator==(const StyleInheritedData& o) const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleMarqueeDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleMarqueeData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleMarqueeData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleMarqueeData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleMarqueeData::StyleMarqueeData(const StyleMarqueeData& o)
</del><ins>+inline StyleMarqueeData::StyleMarqueeData(const StyleMarqueeData& o)
</ins><span class="cx"> : RefCounted<StyleMarqueeData>()
</span><span class="cx"> , increment(o.increment)
</span><span class="cx"> , speed(o.speed)
</span><span class="lines">@@ -45,6 +45,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleMarqueeData> StyleMarqueeData::copy() const
+{
+ return adoptRef(*new StyleMarqueeData(*this));
+}
+
</ins><span class="cx"> bool StyleMarqueeData::operator==(const StyleMarqueeData& o) const
</span><span class="cx"> {
</span><span class="cx"> return increment == o.increment && speed == o.speed && direction == o.direction &&
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleMarqueeDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleMarqueeData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleMarqueeData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleMarqueeData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class StyleMarqueeData : public RefCounted<StyleMarqueeData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleMarqueeData> create() { return adoptRef(*new StyleMarqueeData); }
</span><del>- PassRef<StyleMarqueeData> copy() const { return adoptRef(*new StyleMarqueeData(*this)); }
</del><ins>+ PassRef<StyleMarqueeData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleMarqueeData& o) const;
</span><span class="cx"> bool operator!=(const StyleMarqueeData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleMultiColDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleMultiColData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleMultiColData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleMultiColData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleMultiColData::StyleMultiColData(const StyleMultiColData& o)
</del><ins>+inline StyleMultiColData::StyleMultiColData(const StyleMultiColData& o)
</ins><span class="cx"> : RefCounted<StyleMultiColData>()
</span><span class="cx"> , m_width(o.m_width)
</span><span class="cx"> , m_count(o.m_count)
</span><span class="lines">@@ -63,6 +63,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleMultiColData> StyleMultiColData::copy() const
+{
+ return adoptRef(*new StyleMultiColData(*this));
+}
+
</ins><span class="cx"> bool StyleMultiColData::operator==(const StyleMultiColData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleMultiColDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleMultiColData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleMultiColData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleMultiColData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> class StyleMultiColData : public RefCounted<StyleMultiColData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleMultiColData> create() { return adoptRef(*new StyleMultiColData); }
</span><del>- PassRef<StyleMultiColData> copy() const { return adoptRef(*new StyleMultiColData(*this)); }
</del><ins>+ PassRef<StyleMultiColData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleMultiColData& o) const;
</span><span class="cx"> bool operator!=(const StyleMultiColData &o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareInheritedDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -135,7 +135,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
</del><ins>+inline StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
</ins><span class="cx"> : RefCounted<StyleRareInheritedData>()
</span><span class="cx"> , listStyleImage(o.listStyleImage)
</span><span class="cx"> , textStrokeColor(o.textStrokeColor)
</span><span class="lines">@@ -219,6 +219,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleRareInheritedData> StyleRareInheritedData::copy() const
+{
+ return adoptRef(*new StyleRareInheritedData(*this));
+}
+
</ins><span class="cx"> StyleRareInheritedData::~StyleRareInheritedData()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareInheritedDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> class StyleRareInheritedData : public RefCounted<StyleRareInheritedData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleRareInheritedData> create() { return adoptRef(*new StyleRareInheritedData); }
</span><del>- PassRef<StyleRareInheritedData> copy() const { return adoptRef(*new StyleRareInheritedData(*this)); }
</del><ins>+ PassRef<StyleRareInheritedData> copy() const;
</ins><span class="cx"> ~StyleRareInheritedData();
</span><span class="cx">
</span><span class="cx"> bool operator==(const StyleRareInheritedData& o) const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareNonInheritedDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx"> m_maskBoxImage.setMaskDefaults();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInheritedData& o)
</del><ins>+inline StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInheritedData& o)
</ins><span class="cx"> : RefCounted<StyleRareNonInheritedData>()
</span><span class="cx"> , opacity(o.opacity)
</span><span class="cx"> , m_aspectRatioDenominator(o.m_aspectRatioDenominator)
</span><span class="lines">@@ -189,6 +189,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleRareNonInheritedData> StyleRareNonInheritedData::copy() const
+{
+ return adoptRef(*new StyleRareNonInheritedData(*this));
+}
+
</ins><span class="cx"> StyleRareNonInheritedData::~StyleRareNonInheritedData()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareNonInheritedDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -78,7 +78,7 @@
</span><span class="cx"> class StyleRareNonInheritedData : public RefCounted<StyleRareNonInheritedData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleRareNonInheritedData> create() { return adoptRef(*new StyleRareNonInheritedData); }
</span><del>- PassRef<StyleRareNonInheritedData> copy() const { return adoptRef(*new StyleRareNonInheritedData(*this)); }
</del><ins>+ PassRef<StyleRareNonInheritedData> copy() const;
</ins><span class="cx"> ~StyleRareNonInheritedData();
</span><span class="cx">
</span><span class="cx"> bool operator==(const StyleRareNonInheritedData&) const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleSurroundDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleSurroundData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleSurroundData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleSurroundData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleSurroundData::StyleSurroundData(const StyleSurroundData& o)
</del><ins>+inline StyleSurroundData::StyleSurroundData(const StyleSurroundData& o)
</ins><span class="cx"> : RefCounted<StyleSurroundData>()
</span><span class="cx"> , offset(o.offset)
</span><span class="cx"> , margin(o.margin)
</span><span class="lines">@@ -39,6 +39,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleSurroundData> StyleSurroundData::copy() const
+{
+ return adoptRef(*new StyleSurroundData(*this));
+}
+
</ins><span class="cx"> bool StyleSurroundData::operator==(const StyleSurroundData& o) const
</span><span class="cx"> {
</span><span class="cx"> return offset == o.offset && margin == o.margin && padding == o.padding && border == o.border;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleSurroundDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleSurroundData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleSurroundData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleSurroundData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class StyleSurroundData : public RefCounted<StyleSurroundData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleSurroundData> create() { return adoptRef(*new StyleSurroundData); }
</span><del>- PassRef<StyleSurroundData> copy() const { return adoptRef(*new StyleSurroundData(*this)); }
</del><ins>+ PassRef<StyleSurroundData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleSurroundData& o) const;
</span><span class="cx"> bool operator!=(const StyleSurroundData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleTransformDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleTransformData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleTransformData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleTransformData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleTransformData::StyleTransformData(const StyleTransformData& o)
</del><ins>+inline StyleTransformData::StyleTransformData(const StyleTransformData& o)
</ins><span class="cx"> : RefCounted<StyleTransformData>()
</span><span class="cx"> , m_operations(o.m_operations)
</span><span class="cx"> , m_x(o.m_x)
</span><span class="lines">@@ -43,6 +43,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleTransformData> StyleTransformData::copy() const
+{
+ return adoptRef(*new StyleTransformData(*this));
+}
+
</ins><span class="cx"> bool StyleTransformData::operator==(const StyleTransformData& o) const
</span><span class="cx"> {
</span><span class="cx"> return m_x == o.m_x && m_y == o.m_y && m_z == o.m_z && m_operations == o.m_operations;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleTransformDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleTransformData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleTransformData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleTransformData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class StyleTransformData : public RefCounted<StyleTransformData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleTransformData> create() { return adoptRef(*new StyleTransformData); }
</span><del>- PassRef<StyleTransformData> copy() const { return adoptRef(*new StyleTransformData(*this)); }
</del><ins>+ PassRef<StyleTransformData> copy() const;
</ins><span class="cx">
</span><span class="cx"> bool operator==(const StyleTransformData& o) const;
</span><span class="cx"> bool operator!=(const StyleTransformData& o) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleVisualDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleVisualData.cpp (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleVisualData.cpp        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleVisualData.cpp        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-StyleVisualData::StyleVisualData(const StyleVisualData& o)
</del><ins>+inline StyleVisualData::StyleVisualData(const StyleVisualData& o)
</ins><span class="cx"> : RefCounted<StyleVisualData>()
</span><span class="cx"> , clip(o.clip)
</span><span class="cx"> , hasClip(o.hasClip)
</span><span class="lines">@@ -52,4 +52,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+PassRef<StyleVisualData> StyleVisualData::copy() const
+{
+ return adoptRef(*new StyleVisualData(*this));
+}
+
</ins><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleVisualDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleVisualData.h (161183 => 161184)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleVisualData.h        2013-12-31 16:16:32 UTC (rev 161183)
+++ trunk/Source/WebCore/rendering/style/StyleVisualData.h        2013-12-31 16:40:50 UTC (rev 161184)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class StyleVisualData : public RefCounted<StyleVisualData> {
</span><span class="cx"> public:
</span><span class="cx"> static PassRef<StyleVisualData> create() { return adoptRef(*new StyleVisualData); }
</span><del>- PassRef<StyleVisualData> copy() const { return adoptRef(*new StyleVisualData(*this)); }
</del><ins>+ PassRef<StyleVisualData> copy() const;
</ins><span class="cx"> ~StyleVisualData();
</span><span class="cx">
</span><span class="cx"> bool operator==(const StyleVisualData& o) const
</span></span></pre>
</div>
</div>
</body>
</html>