<!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>[201113] trunk/Source</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/201113">201113</a></dd>
<dt>Author</dt> <dd>achristensen@apple.com</dd>
<dt>Date</dt> <dd>2016-05-18 16:09:09 -0700 (Wed, 18 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Clean up CSS code
https://bugs.webkit.org/show_bug.cgi?id=157808

Reviewed by Chris Dumez.

Source/WebCore:

No new tests. Just cleaning up and modernizing code.

* css/BasicShapeFunctions.cpp:
(WebCore::convertToCenterCoordinate):
(WebCore::cssValueToBasicShapeRadius):
(WebCore::basicShapeForValue):
* css/BasicShapeFunctions.h:
* css/CSSAnimationTriggerScrollValue.h:
(WebCore::CSSAnimationTriggerScrollValue::create):
(WebCore::CSSAnimationTriggerScrollValue::startValue):
(WebCore::CSSAnimationTriggerScrollValue::CSSAnimationTriggerScrollValue):
* css/CSSAspectRatioValue.h:
* css/CSSBasicShapes.h:
* css/CSSBorderImage.cpp:
(WebCore::createBorderImageValue):
* css/CSSBorderImage.h:
* css/CSSBorderImageSliceValue.h:
(WebCore::CSSBorderImageSliceValue::create):
* css/CSSCalculationValue.h:
* css/CSSCanvasValue.h:
(WebCore::CSSCanvasValue::CSSCanvasValue):
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForNinePieceImageSlice):
(WebCore::valueForNinePieceImageQuad):
(WebCore::valueForNinePieceImage):
(WebCore::zoomAdjustedPixelValue):
* css/CSSComputedStyleDeclaration.h:
* css/CSSFontFaceLoadEvent.cpp:
(WebCore::CSSFontFaceLoadEvent::CSSFontFaceLoadEvent):
* css/CSSFontFaceLoadEvent.h:
* css/CSSFontValue.h:
* css/CSSFunctionValue.h:
* css/CSSGradientValue.h:
(WebCore::CSSGradientValue::setFirstX):
(WebCore::CSSGradientValue::setFirstY):
(WebCore::CSSGradientValue::setSecondX):
(WebCore::CSSGradientValue::setSecondY):
(WebCore::CSSGradientValue::addStop):
(WebCore::CSSLinearGradientValue::create):
(WebCore::CSSLinearGradientValue::setAngle):
(WebCore::CSSRadialGradientValue::setFirstRadius):
(WebCore::CSSRadialGradientValue::setSecondRadius):
(WebCore::CSSRadialGradientValue::setShape):
(WebCore::CSSRadialGradientValue::setSizingBehavior):
(WebCore::CSSRadialGradientValue::setEndHorizontalSize):
(WebCore::CSSRadialGradientValue::setEndVerticalSize):
* css/CSSGroupingRule.cpp:
(WebCore::CSSGroupingRule::item):
(WebCore::CSSGroupingRule::cssRules):
* css/CSSKeyframesRule.cpp:
(WebCore::CSSKeyframesRule::cssRules):
* css/CSSParser.cpp:
(WebCore::CSSParser::addProperty):
(WebCore::CSSParser::rollbackLastProperties):
(WebCore::CSSParser::parseDashboardRegions):
(WebCore::CSSParser::parseClipShape):
(WebCore::CSSParser::parseBasicShapeCircle):
(WebCore::BorderImageParseContext::commitWebKitBorderImage):
(WebCore::BorderImageParseContext::commitBorderImage):
(WebCore::BorderImageSliceParseContext::commitBorderImageSlice):
(WebCore::BorderImageQuadParseContext::commitBorderImageQuad):
(WebCore::CSSParser::parseDeprecatedRadialGradient):
(WebCore::CSSParser::parseRadialGradient):
* css/CSSParser.h:
(WebCore::cssyylex):
* css/CSSPrimitiveValue.h:
* css/CSSProperty.cpp:
* css/CSSProperty.h:
(WebCore::CSSProperty::CSSProperty):
* css/CSSRule.h:
* css/CSSRuleList.h:
* css/CSSSegmentedFontFace.h:
* css/Counter.h:
(WebCore::Counter::create):
(WebCore::Counter::identifier):
(WebCore::Counter::listStyleIdent):
(WebCore::Counter::setIdentifier):
(WebCore::Counter::setListStyle):
(WebCore::Counter::setSeparator):
(WebCore::Counter::equals):
(WebCore::Counter::cloneForCSSOM):
(WebCore::Counter::Counter):
* css/Pair.h:
* css/Rect.h:
(WebCore::RectBase::bottom):
(WebCore::RectBase::left):
(WebCore::RectBase::setTop):
(WebCore::RectBase::setRight):
(WebCore::RectBase::setBottom):
(WebCore::RectBase::setLeft):
(WebCore::RectBase::equals):
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::strokeDashArrayToCSSValueList):
(WebCore::ComputedStyleExtractor::adjustSVGPaintForCurrentColor):
* css/StyleBuilderConverter.h:
(WebCore::StyleBuilderConverter::convertClipPath):
(WebCore::StyleBuilderConverter::convertShapeValue):
* css/StyleProperties.cpp:
(WebCore::StyleProperties::borderPropertyValue):
(WebCore::StyleProperties::getPropertyCSSValue):
(WebCore::StyleProperties::getPropertyCSSValueInternal):
(WebCore::MutableStyleProperties::setCustomProperty):
(WebCore::MutableStyleProperties::setProperty):
* css/StyleProperties.h:
(WebCore::StyleProperties::isEmpty):
(isType):
* css/StylePropertyShorthand.cpp:
* css/StylePropertyShorthand.h:
(WebCore::StylePropertyShorthand::StylePropertyShorthand):
(WebCore::StylePropertyShorthand::id):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::appendAuthorStyleSheets):
(WebCore::StyleResolver::addKeyframeStyle):
(WebCore::StyleResolver::~StyleResolver):
(WebCore::StyleResolver::resolvedVariableValue):
(WebCore::StyleResolver::styleImage):
(WebCore::StyleResolver::cachedOrPendingFromValue):
(WebCore::StyleResolver::generatedOrPendingFromValue):
(WebCore::StyleResolver::createFilterOperations):
(WebCore::StyleResolver::loadPendingImage):
* css/StyleResolver.h:
(WebCore::StyleResolver::hasViewportDependentMediaQueries):
(WebCore::StyleResolver::state):
(WebCore::checkRegionSelector):
* css/StyleSheetList.h:
* css/WebKitCSSFilterValue.cpp:
* css/WebKitCSSFilterValue.h:
* css/WebKitCSSTransformValue.cpp:
* css/WebKitCSSTransformValue.h:
* rendering/shapes/Shape.cpp:

Source/WebKit2:

* UIProcess/Cocoa/WebViewImpl.mm:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssBasicShapeFunctionscpp">trunk/Source/WebCore/css/BasicShapeFunctions.cpp</a></li>
<li><a href="#trunkSourceWebCorecssBasicShapeFunctionsh">trunk/Source/WebCore/css/BasicShapeFunctions.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSAnimationTriggerScrollValueh">trunk/Source/WebCore/css/CSSAnimationTriggerScrollValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSAspectRatioValueh">trunk/Source/WebCore/css/CSSAspectRatioValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSBasicShapesh">trunk/Source/WebCore/css/CSSBasicShapes.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSBorderImagecpp">trunk/Source/WebCore/css/CSSBorderImage.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSBorderImageh">trunk/Source/WebCore/css/CSSBorderImage.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSBorderImageSliceValuecpp">trunk/Source/WebCore/css/CSSBorderImageSliceValue.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSBorderImageSliceValueh">trunk/Source/WebCore/css/CSSBorderImageSliceValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSCalculationValueh">trunk/Source/WebCore/css/CSSCalculationValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSCanvasValueh">trunk/Source/WebCore/css/CSSCanvasValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSComputedStyleDeclarationcpp">trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSComputedStyleDeclarationh">trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSFontFaceLoadEventcpp">trunk/Source/WebCore/css/CSSFontFaceLoadEvent.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSFontFaceLoadEventh">trunk/Source/WebCore/css/CSSFontFaceLoadEvent.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSFontValueh">trunk/Source/WebCore/css/CSSFontValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSFunctionValueh">trunk/Source/WebCore/css/CSSFunctionValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSGradientValueh">trunk/Source/WebCore/css/CSSGradientValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSGroupingRulecpp">trunk/Source/WebCore/css/CSSGroupingRule.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSKeyframesRulecpp">trunk/Source/WebCore/css/CSSKeyframesRule.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParserh">trunk/Source/WebCore/css/CSSParser.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSPrimitiveValueh">trunk/Source/WebCore/css/CSSPrimitiveValue.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSPropertycpp">trunk/Source/WebCore/css/CSSProperty.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSPropertyh">trunk/Source/WebCore/css/CSSProperty.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSRuleh">trunk/Source/WebCore/css/CSSRule.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSRuleListh">trunk/Source/WebCore/css/CSSRuleList.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSSegmentedFontFaceh">trunk/Source/WebCore/css/CSSSegmentedFontFace.h</a></li>
<li><a href="#trunkSourceWebCorecssCounterh">trunk/Source/WebCore/css/Counter.h</a></li>
<li><a href="#trunkSourceWebCorecssPairh">trunk/Source/WebCore/css/Pair.h</a></li>
<li><a href="#trunkSourceWebCorecssRecth">trunk/Source/WebCore/css/Rect.h</a></li>
<li><a href="#trunkSourceWebCorecssRuleSetcpp">trunk/Source/WebCore/css/RuleSet.cpp</a></li>
<li><a href="#trunkSourceWebCorecssSVGCSSComputedStyleDeclarationcpp">trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleBuilderConverterh">trunk/Source/WebCore/css/StyleBuilderConverter.h</a></li>
<li><a href="#trunkSourceWebCorecssStylePropertiescpp">trunk/Source/WebCore/css/StyleProperties.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStylePropertiesh">trunk/Source/WebCore/css/StyleProperties.h</a></li>
<li><a href="#trunkSourceWebCorecssStylePropertyShorthandcpp">trunk/Source/WebCore/css/StylePropertyShorthand.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStylePropertyShorthandh">trunk/Source/WebCore/css/StylePropertyShorthand.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolverh">trunk/Source/WebCore/css/StyleResolver.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleSheetListh">trunk/Source/WebCore/css/StyleSheetList.h</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSFilterValuecpp">trunk/Source/WebCore/css/WebKitCSSFilterValue.cpp</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSFilterValueh">trunk/Source/WebCore/css/WebKitCSSFilterValue.h</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSTransformValuecpp">trunk/Source/WebCore/css/WebKitCSSTransformValue.cpp</a></li>
<li><a href="#trunkSourceWebCorecssWebKitCSSTransformValueh">trunk/Source/WebCore/css/WebKitCSSTransformValue.h</a></li>
<li><a href="#trunkSourceWebCorerenderingshapesShapecpp">trunk/Source/WebCore/rendering/shapes/Shape.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessCocoaWebViewImplmm">trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/ChangeLog        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -1,3 +1,141 @@
</span><ins>+2016-05-18  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Clean up CSS code
+        https://bugs.webkit.org/show_bug.cgi?id=157808
+
+        Reviewed by Chris Dumez.
+
+        No new tests. Just cleaning up and modernizing code.
+
+        * css/BasicShapeFunctions.cpp:
+        (WebCore::convertToCenterCoordinate):
+        (WebCore::cssValueToBasicShapeRadius):
+        (WebCore::basicShapeForValue):
+        * css/BasicShapeFunctions.h:
+        * css/CSSAnimationTriggerScrollValue.h:
+        (WebCore::CSSAnimationTriggerScrollValue::create):
+        (WebCore::CSSAnimationTriggerScrollValue::startValue):
+        (WebCore::CSSAnimationTriggerScrollValue::CSSAnimationTriggerScrollValue):
+        * css/CSSAspectRatioValue.h:
+        * css/CSSBasicShapes.h:
+        * css/CSSBorderImage.cpp:
+        (WebCore::createBorderImageValue):
+        * css/CSSBorderImage.h:
+        * css/CSSBorderImageSliceValue.h:
+        (WebCore::CSSBorderImageSliceValue::create):
+        * css/CSSCalculationValue.h:
+        * css/CSSCanvasValue.h:
+        (WebCore::CSSCanvasValue::CSSCanvasValue):
+        * css/CSSComputedStyleDeclaration.cpp:
+        (WebCore::valueForNinePieceImageSlice):
+        (WebCore::valueForNinePieceImageQuad):
+        (WebCore::valueForNinePieceImage):
+        (WebCore::zoomAdjustedPixelValue):
+        * css/CSSComputedStyleDeclaration.h:
+        * css/CSSFontFaceLoadEvent.cpp:
+        (WebCore::CSSFontFaceLoadEvent::CSSFontFaceLoadEvent):
+        * css/CSSFontFaceLoadEvent.h:
+        * css/CSSFontValue.h:
+        * css/CSSFunctionValue.h:
+        * css/CSSGradientValue.h:
+        (WebCore::CSSGradientValue::setFirstX):
+        (WebCore::CSSGradientValue::setFirstY):
+        (WebCore::CSSGradientValue::setSecondX):
+        (WebCore::CSSGradientValue::setSecondY):
+        (WebCore::CSSGradientValue::addStop):
+        (WebCore::CSSLinearGradientValue::create):
+        (WebCore::CSSLinearGradientValue::setAngle):
+        (WebCore::CSSRadialGradientValue::setFirstRadius):
+        (WebCore::CSSRadialGradientValue::setSecondRadius):
+        (WebCore::CSSRadialGradientValue::setShape):
+        (WebCore::CSSRadialGradientValue::setSizingBehavior):
+        (WebCore::CSSRadialGradientValue::setEndHorizontalSize):
+        (WebCore::CSSRadialGradientValue::setEndVerticalSize):
+        * css/CSSGroupingRule.cpp:
+        (WebCore::CSSGroupingRule::item):
+        (WebCore::CSSGroupingRule::cssRules):
+        * css/CSSKeyframesRule.cpp:
+        (WebCore::CSSKeyframesRule::cssRules):
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::addProperty):
+        (WebCore::CSSParser::rollbackLastProperties):
+        (WebCore::CSSParser::parseDashboardRegions):
+        (WebCore::CSSParser::parseClipShape):
+        (WebCore::CSSParser::parseBasicShapeCircle):
+        (WebCore::BorderImageParseContext::commitWebKitBorderImage):
+        (WebCore::BorderImageParseContext::commitBorderImage):
+        (WebCore::BorderImageSliceParseContext::commitBorderImageSlice):
+        (WebCore::BorderImageQuadParseContext::commitBorderImageQuad):
+        (WebCore::CSSParser::parseDeprecatedRadialGradient):
+        (WebCore::CSSParser::parseRadialGradient):
+        * css/CSSParser.h:
+        (WebCore::cssyylex):
+        * css/CSSPrimitiveValue.h:
+        * css/CSSProperty.cpp:
+        * css/CSSProperty.h:
+        (WebCore::CSSProperty::CSSProperty):
+        * css/CSSRule.h:
+        * css/CSSRuleList.h:
+        * css/CSSSegmentedFontFace.h:
+        * css/Counter.h:
+        (WebCore::Counter::create):
+        (WebCore::Counter::identifier):
+        (WebCore::Counter::listStyleIdent):
+        (WebCore::Counter::setIdentifier):
+        (WebCore::Counter::setListStyle):
+        (WebCore::Counter::setSeparator):
+        (WebCore::Counter::equals):
+        (WebCore::Counter::cloneForCSSOM):
+        (WebCore::Counter::Counter):
+        * css/Pair.h:
+        * css/Rect.h:
+        (WebCore::RectBase::bottom):
+        (WebCore::RectBase::left):
+        (WebCore::RectBase::setTop):
+        (WebCore::RectBase::setRight):
+        (WebCore::RectBase::setBottom):
+        (WebCore::RectBase::setLeft):
+        (WebCore::RectBase::equals):
+        * css/SVGCSSComputedStyleDeclaration.cpp:
+        (WebCore::strokeDashArrayToCSSValueList):
+        (WebCore::ComputedStyleExtractor::adjustSVGPaintForCurrentColor):
+        * css/StyleBuilderConverter.h:
+        (WebCore::StyleBuilderConverter::convertClipPath):
+        (WebCore::StyleBuilderConverter::convertShapeValue):
+        * css/StyleProperties.cpp:
+        (WebCore::StyleProperties::borderPropertyValue):
+        (WebCore::StyleProperties::getPropertyCSSValue):
+        (WebCore::StyleProperties::getPropertyCSSValueInternal):
+        (WebCore::MutableStyleProperties::setCustomProperty):
+        (WebCore::MutableStyleProperties::setProperty):
+        * css/StyleProperties.h:
+        (WebCore::StyleProperties::isEmpty):
+        (isType):
+        * css/StylePropertyShorthand.cpp:
+        * css/StylePropertyShorthand.h:
+        (WebCore::StylePropertyShorthand::StylePropertyShorthand):
+        (WebCore::StylePropertyShorthand::id):
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::appendAuthorStyleSheets):
+        (WebCore::StyleResolver::addKeyframeStyle):
+        (WebCore::StyleResolver::~StyleResolver):
+        (WebCore::StyleResolver::resolvedVariableValue):
+        (WebCore::StyleResolver::styleImage):
+        (WebCore::StyleResolver::cachedOrPendingFromValue):
+        (WebCore::StyleResolver::generatedOrPendingFromValue):
+        (WebCore::StyleResolver::createFilterOperations):
+        (WebCore::StyleResolver::loadPendingImage):
+        * css/StyleResolver.h:
+        (WebCore::StyleResolver::hasViewportDependentMediaQueries):
+        (WebCore::StyleResolver::state):
+        (WebCore::checkRegionSelector):
+        * css/StyleSheetList.h:
+        * css/WebKitCSSFilterValue.cpp:
+        * css/WebKitCSSFilterValue.h:
+        * css/WebKitCSSTransformValue.cpp:
+        * css/WebKitCSSTransformValue.h:
+        * rendering/shapes/Shape.cpp:
+
</ins><span class="cx"> 2016-05-18  Jer Noble  &lt;jer.noble@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         webkitEnterFullscreen() does not require a user gesture when RequireUserGestureForAudioRateChange is set.
</span></span></pre></div>
<a id="trunkSourceWebCorecssBasicShapeFunctionscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/BasicShapeFunctions.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/BasicShapeFunctions.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/BasicShapeFunctions.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -188,7 +188,7 @@
</span><span class="cx">     return BasicShapeCenterCoordinate(direction, offset);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static BasicShapeRadius cssValueToBasicShapeRadius(const CSSToLengthConversionData&amp; conversionData, PassRefPtr&lt;CSSPrimitiveValue&gt; radius)
</del><ins>+static BasicShapeRadius cssValueToBasicShapeRadius(const CSSToLengthConversionData&amp; conversionData, CSSPrimitiveValue* radius)
</ins><span class="cx"> {
</span><span class="cx">     if (!radius)
</span><span class="cx">         return BasicShapeRadius(BasicShapeRadius::ClosestSide);
</span><span class="lines">@@ -205,16 +205,16 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    return BasicShapeRadius(convertToLength(conversionData, radius.get()));
</del><ins>+    return BasicShapeRadius(convertToLength(conversionData, radius));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;BasicShape&gt; basicShapeForValue(const CSSToLengthConversionData&amp; conversionData, const CSSBasicShape* basicShapeValue)
</del><ins>+Ref&lt;BasicShape&gt; basicShapeForValue(const CSSToLengthConversionData&amp; conversionData, const CSSBasicShape&amp; basicShapeValue)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;BasicShape&gt; basicShape;
</span><span class="cx"> 
</span><del>-    switch (basicShapeValue-&gt;type()) {
</del><ins>+    switch (basicShapeValue.type()) {
</ins><span class="cx">     case CSSBasicShape::CSSBasicShapeCircleType: {
</span><del>-        auto&amp; circleValue = downcast&lt;CSSBasicShapeCircle&gt;(*basicShapeValue);
</del><ins>+        auto&amp; circleValue = downcast&lt;CSSBasicShapeCircle&gt;(basicShapeValue);
</ins><span class="cx">         auto circle = BasicShapeCircle::create();
</span><span class="cx"> 
</span><span class="cx">         circle-&gt;setCenterX(convertToCenterCoordinate(conversionData, circleValue.centerX()));
</span><span class="lines">@@ -225,7 +225,7 @@
</span><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx">     case CSSBasicShape::CSSBasicShapeEllipseType: {
</span><del>-        auto&amp; ellipseValue = downcast&lt;CSSBasicShapeEllipse&gt;(*basicShapeValue);
</del><ins>+        auto&amp; ellipseValue = downcast&lt;CSSBasicShapeEllipse&gt;(basicShapeValue);
</ins><span class="cx">         auto ellipse = BasicShapeEllipse::create();
</span><span class="cx"> 
</span><span class="cx">         ellipse-&gt;setCenterX(convertToCenterCoordinate(conversionData, ellipseValue.centerX()));
</span><span class="lines">@@ -238,7 +238,7 @@
</span><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx">     case CSSBasicShape::CSSBasicShapePolygonType: {
</span><del>-        auto&amp; polygonValue = downcast&lt;CSSBasicShapePolygon&gt;(*basicShapeValue);
</del><ins>+        auto&amp; polygonValue = downcast&lt;CSSBasicShapePolygon&gt;(basicShapeValue);
</ins><span class="cx">         auto polygon = BasicShapePolygon::create();
</span><span class="cx"> 
</span><span class="cx">         polygon-&gt;setWindRule(polygonValue.windRule());
</span><span class="lines">@@ -250,7 +250,7 @@
</span><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx">     case CSSBasicShape::CSSBasicShapeInsetType: {
</span><del>-        auto&amp; rectValue = downcast&lt;CSSBasicShapeInset&gt;(*basicShapeValue);
</del><ins>+        auto&amp; rectValue = downcast&lt;CSSBasicShapeInset&gt;(basicShapeValue);
</ins><span class="cx">         auto rect = BasicShapeInset::create();
</span><span class="cx"> 
</span><span class="cx">         rect-&gt;setTop(convertToLength(conversionData, rectValue.top()));
</span><span class="lines">@@ -267,7 +267,7 @@
</span><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx">     case CSSBasicShape::CSSBasicShapePathType: {
</span><del>-        auto&amp; pathValue = downcast&lt;CSSBasicShapePath&gt;(*basicShapeValue);
</del><ins>+        auto&amp; pathValue = downcast&lt;CSSBasicShapePath&gt;(basicShapeValue);
</ins><span class="cx">         auto path = BasicShapePath::create(pathValue.pathData().copy());
</span><span class="cx">         path-&gt;setWindRule(pathValue.windRule());
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssBasicShapeFunctionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/BasicShapeFunctions.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/BasicShapeFunctions.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/BasicShapeFunctions.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -27,25 +27,21 @@
</span><span class="cx">  * SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef BasicShapeFunctions_h
-#define BasicShapeFunctions_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><del>-#include &quot;BasicShapes.h&quot;
-#include &lt;wtf/PassRefPtr.h&gt;
</del><ins>+#include &lt;wtf/Ref.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class BasicShape;
+class BasicShapeCenterCoordinate;
</ins><span class="cx"> class CSSBasicShape;
</span><span class="cx"> class CSSToLengthConversionData;
</span><del>-class CSSPrimitiveValue;
-class CSSToLengthConversionData;
</del><span class="cx"> class CSSValue;
</span><span class="cx"> class RenderStyle;
</span><span class="cx"> 
</span><span class="cx"> Ref&lt;CSSValue&gt; valueForBasicShape(const RenderStyle&amp;, const BasicShape&amp;);
</span><del>-Ref&lt;BasicShape&gt; basicShapeForValue(const CSSToLengthConversionData&amp;, const CSSBasicShape*);
-
</del><ins>+Ref&lt;BasicShape&gt; basicShapeForValue(const CSSToLengthConversionData&amp;, const CSSBasicShape&amp;);
</ins><span class="cx"> float floatValueForCenterCoordinate(const BasicShapeCenterCoordinate&amp;, float);
</span><del>-}
</del><span class="cx"> 
</span><del>-#endif
</del><ins>+}
</ins></span></pre></div>
<a id="trunkSourceWebCorecssCSSAnimationTriggerScrollValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSAnimationTriggerScrollValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSAnimationTriggerScrollValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSAnimationTriggerScrollValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,21 +23,19 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSAnimationTriggerScrollValue_h
-#define CSSAnimationTriggerScrollValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_ANIMATIONS_LEVEL_2)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class CSSAnimationTriggerScrollValue : public CSSValue {
</span><span class="cx"> public:
</span><del>-    static Ref&lt;CSSAnimationTriggerScrollValue&gt; create(PassRefPtr&lt;CSSValue&gt; startValue, PassRefPtr&lt;CSSValue&gt; endValue = nullptr)
</del><ins>+    static Ref&lt;CSSAnimationTriggerScrollValue&gt; create(Ref&lt;CSSValue&gt;&amp;&amp; startValue, RefPtr&lt;CSSValue&gt;&amp;&amp; endValue = nullptr)
</ins><span class="cx">     {
</span><del>-        return adoptRef(*new CSSAnimationTriggerScrollValue(startValue, endValue));
</del><ins>+        return adoptRef(*new CSSAnimationTriggerScrollValue(WTFMove(startValue), WTFMove(endValue)));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const CSSValue* startValue() const { return m_startValue.get(); }
</span><span class="lines">@@ -49,10 +47,10 @@
</span><span class="cx">     bool equals(const CSSAnimationTriggerScrollValue&amp;) const;
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    CSSAnimationTriggerScrollValue(PassRefPtr&lt;CSSValue&gt; startValue, PassRefPtr&lt;CSSValue&gt; endValue)
</del><ins>+    CSSAnimationTriggerScrollValue(Ref&lt;CSSValue&gt;&amp;&amp; startValue, RefPtr&lt;CSSValue&gt;&amp;&amp; endValue)
</ins><span class="cx">         : CSSValue(AnimationTriggerScrollClass)
</span><del>-        , m_startValue(startValue)
-        , m_endValue(endValue)
</del><ins>+        , m_startValue(WTFMove(startValue))
+        , m_endValue(WTFMove(endValue))
</ins><span class="cx">     {
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -65,5 +63,3 @@
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSAnimationTriggerScrollValue, isAnimationTriggerScrollValue())
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><del>-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSAspectRatioValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSAspectRatioValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSAspectRatioValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSAspectRatioValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -26,10 +26,8 @@
</span><span class="cx">  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSAspectRatioValue_h
-#define CSSAspectRatioValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><del>-#include &quot;CSSPrimitiveValue.h&quot;
</del><span class="cx"> #include &quot;CSSValue.h&quot;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -63,5 +61,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSAspectRatioValue, isAspectRatioValue())
</span><del>-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSBasicShapesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBasicShapes.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBasicShapes.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSBasicShapes.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -27,10 +27,8 @@
</span><span class="cx">  * SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSBasicShapes_h
-#define CSSBasicShapes_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><del>-#include &quot;CSSPrimitiveValue.h&quot;
</del><span class="cx"> #include &quot;WindRule.h&quot;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/TypeCasts.h&gt;
</span><span class="lines">@@ -39,6 +37,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class CSSPrimitiveValue;
</ins><span class="cx"> class SVGPathByteStream;
</span><span class="cx"> 
</span><span class="cx"> class CSSBasicShape : public RefCounted&lt;CSSBasicShape&gt; {
</span><span class="lines">@@ -77,10 +76,10 @@
</span><span class="cx">     CSSPrimitiveValue* bottomRightRadius() const { return m_bottomRightRadius.get(); }
</span><span class="cx">     CSSPrimitiveValue* bottomLeftRadius() const { return m_bottomLeftRadius.get(); }
</span><span class="cx"> 
</span><del>-    void setTop(PassRefPtr&lt;CSSPrimitiveValue&gt; top) { m_top = top; }
-    void setRight(PassRefPtr&lt;CSSPrimitiveValue&gt; right) { m_right = right; }
-    void setBottom(PassRefPtr&lt;CSSPrimitiveValue&gt; bottom) { m_bottom = bottom; }
-    void setLeft(PassRefPtr&lt;CSSPrimitiveValue&gt; left) { m_left = left; }
</del><ins>+    void setTop(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; top) { m_top = WTFMove(top); }
+    void setRight(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; right) { m_right = WTFMove(right); }
+    void setBottom(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; bottom) { m_bottom = WTFMove(bottom); }
+    void setLeft(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; left) { m_left = WTFMove(left); }
</ins><span class="cx"> 
</span><span class="cx">     void updateShapeSize4Values(CSSPrimitiveValue* top, CSSPrimitiveValue* right, CSSPrimitiveValue* bottom, CSSPrimitiveValue* left)
</span><span class="cx">     {
</span><span class="lines">@@ -105,10 +104,10 @@
</span><span class="cx">         updateShapeSize4Values(value1, value2, value3, value2);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    void setTopLeftRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; radius) { m_topLeftRadius = radius; }
-    void setTopRightRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; radius) { m_topRightRadius = radius; }
-    void setBottomRightRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; radius) { m_bottomRightRadius = radius; }
-    void setBottomLeftRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; radius) { m_bottomLeftRadius = radius; }
</del><ins>+    void setTopLeftRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; radius) { m_topLeftRadius = WTFMove(radius); }
+    void setTopRightRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; radius) { m_topRightRadius = WTFMove(radius); }
+    void setBottomRightRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; radius) { m_bottomRightRadius = WTFMove(radius); }
+    void setBottomLeftRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; radius) { m_bottomLeftRadius = WTFMove(radius); }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     CSSBasicShapeInset() { }
</span><span class="lines">@@ -136,9 +135,9 @@
</span><span class="cx">     CSSPrimitiveValue* centerY() const { return m_centerY.get(); }
</span><span class="cx">     CSSPrimitiveValue* radius() const { return m_radius.get(); }
</span><span class="cx"> 
</span><del>-    void setCenterX(PassRefPtr&lt;CSSPrimitiveValue&gt; centerX) { m_centerX = centerX; }
-    void setCenterY(PassRefPtr&lt;CSSPrimitiveValue&gt; centerY) { m_centerY = centerY; }
-    void setRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; radius) { m_radius = radius; }
</del><ins>+    void setCenterX(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; centerX) { m_centerX = WTFMove(centerX); }
+    void setCenterY(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; centerY) { m_centerY = WTFMove(centerY); }
+    void setRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; radius) { m_radius = WTFMove(radius); }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     CSSBasicShapeCircle() { }
</span><span class="lines">@@ -248,5 +247,3 @@
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_BASIC_SHAPES(CSSBasicShapeEllipse)
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_BASIC_SHAPES(CSSBasicShapePolygon)
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_BASIC_SHAPES(CSSBasicShapePath)
</span><del>-
-#endif // CSSBasicShapes_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSBorderImagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBorderImage.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBorderImage.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSBorderImage.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -20,9 +20,11 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;CSSBorderImage.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;CSSValueList.h&quot;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-Ref&lt;CSSValueList&gt; createBorderImageValue(PassRefPtr&lt;CSSValue&gt; image, PassRefPtr&lt;CSSValue&gt; imageSlice, PassRefPtr&lt;CSSValue&gt; borderSlice, PassRefPtr&lt;CSSValue&gt; outset, PassRefPtr&lt;CSSValue&gt; repeat)
</del><ins>+Ref&lt;CSSValueList&gt; createBorderImageValue(RefPtr&lt;CSSValue&gt;&amp;&amp; image, RefPtr&lt;CSSValue&gt;&amp;&amp; imageSlice, RefPtr&lt;CSSValue&gt;&amp;&amp; borderSlice, RefPtr&lt;CSSValue&gt;&amp;&amp; outset, RefPtr&lt;CSSValue&gt;&amp;&amp; repeat)
</ins><span class="cx"> {
</span><span class="cx">     auto list = CSSValueList::createSpaceSeparated();
</span><span class="cx">     if (image)
</span><span class="lines">@@ -31,19 +33,19 @@
</span><span class="cx">     if (borderSlice || outset) {
</span><span class="cx">         auto listSlash = CSSValueList::createSlashSeparated();
</span><span class="cx">         if (imageSlice)
</span><del>-            listSlash.get().append(*imageSlice);
</del><ins>+            listSlash.get().append(imageSlice.releaseNonNull());
</ins><span class="cx"> 
</span><span class="cx">         if (borderSlice)
</span><del>-            listSlash.get().append(*borderSlice);
</del><ins>+            listSlash.get().append(borderSlice.releaseNonNull());
</ins><span class="cx"> 
</span><span class="cx">         if (outset)
</span><del>-            listSlash.get().append(*outset);
</del><ins>+            listSlash.get().append(outset.releaseNonNull());
</ins><span class="cx"> 
</span><span class="cx">         list.get().append(WTFMove(listSlash));
</span><span class="cx">     } else if (imageSlice)
</span><del>-        list.get().append(*imageSlice);
</del><ins>+        list.get().append(imageSlice.releaseNonNull());
</ins><span class="cx">     if (repeat)
</span><del>-        list.get().append(*repeat);
</del><ins>+        list.get().append(repeat.releaseNonNull());
</ins><span class="cx">     return list;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSBorderImageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBorderImage.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBorderImage.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSBorderImage.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -17,18 +17,15 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSBorderImage_h
-#define CSSBorderImage_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><del>-#include &quot;CSSBorderImageSliceValue.h&quot;
-#include &quot;CSSValueList.h&quot;
-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-Ref&lt;CSSValueList&gt; createBorderImageValue(PassRefPtr&lt;CSSValue&gt; image, PassRefPtr&lt;CSSValue&gt; imageSlice, PassRefPtr&lt;CSSValue&gt; borderSlice, PassRefPtr&lt;CSSValue&gt; outset, PassRefPtr&lt;CSSValue&gt; repeat);
</del><ins>+class CSSValue;
+class CSSValueList;
</ins><span class="cx"> 
</span><del>-} // namespace WebCore
</del><ins>+Ref&lt;CSSValueList&gt; createBorderImageValue(RefPtr&lt;CSSValue&gt;&amp;&amp; image, RefPtr&lt;CSSValue&gt;&amp;&amp; imageSlice, RefPtr&lt;CSSValue&gt;&amp;&amp; borderSlice, RefPtr&lt;CSSValue&gt;&amp;&amp; outset, RefPtr&lt;CSSValue&gt;&amp;&amp; repeat);
</ins><span class="cx"> 
</span><del>-#endif // CSSBorderImage_h
</del><ins>+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceWebCorecssCSSBorderImageSliceValuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBorderImageSliceValue.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBorderImageSliceValue.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSBorderImageSliceValue.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -31,9 +31,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-CSSBorderImageSliceValue::CSSBorderImageSliceValue(PassRefPtr&lt;CSSPrimitiveValue&gt; slices, bool fill)
</del><ins>+CSSBorderImageSliceValue::CSSBorderImageSliceValue(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; slices, bool fill)
</ins><span class="cx">     : CSSValue(BorderImageSliceClass)
</span><del>-    , m_slices(slices)
</del><ins>+    , m_slices(WTFMove(slices))
</ins><span class="cx">     , m_fill(fill)
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSBorderImageSliceValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBorderImageSliceValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBorderImageSliceValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSBorderImageSliceValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,11 +23,9 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSBorderImageSliceValue_h
-#define CSSBorderImageSliceValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPrimitiveValue.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -36,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CSSBorderImageSliceValue : public CSSValue {
</span><span class="cx"> public:
</span><del>-    static Ref&lt;CSSBorderImageSliceValue&gt; create(PassRefPtr&lt;CSSPrimitiveValue&gt; slices, bool fill)
</del><ins>+    static Ref&lt;CSSBorderImageSliceValue&gt; create(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; slices, bool fill)
</ins><span class="cx">     {
</span><del>-        return adoptRef(*new CSSBorderImageSliceValue(slices, fill));
</del><ins>+        return adoptRef(*new CSSBorderImageSliceValue(WTFMove(slices), fill));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     String customCSSText() const;
</span><span class="lines">@@ -53,11 +51,9 @@
</span><span class="cx">     bool m_fill;
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    CSSBorderImageSliceValue(PassRefPtr&lt;CSSPrimitiveValue&gt; slices, bool fill);
</del><ins>+    CSSBorderImageSliceValue(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; slices, bool fill);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSBorderImageSliceValue, isBorderImageSliceValue())
</span><del>-
-#endif // CSSBorderImageSliceValue_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSCalculationValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSCalculationValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSCalculationValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSCalculationValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -28,8 +28,7 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSCalculationValue_h
-#define CSSCalculationValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPrimitiveValue.h&quot;
</span><span class="cx"> #include &quot;CalculationValue.h&quot;
</span><span class="lines">@@ -134,5 +133,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSCalcValue, isCalcValue())
</span><del>-
-#endif // CSSCalculationValue_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSCanvasValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSCanvasValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSCanvasValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSCanvasValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,8 +23,7 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSCanvasValue_h
-#define CSSCanvasValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSImageGeneratorValue.h&quot;
</span><span class="cx"> #include &quot;HTMLCanvasElement.h&quot;
</span><span class="lines">@@ -32,6 +31,7 @@
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class Document;
</span><ins>+class HTMLCanvasElement;
</ins><span class="cx"> 
</span><span class="cx"> class CSSCanvasValue : public CSSImageGeneratorValue {
</span><span class="cx"> public:
</span><span class="lines">@@ -54,7 +54,6 @@
</span><span class="cx">         : CSSImageGeneratorValue(CanvasClass)
</span><span class="cx">         , m_canvasObserver(*this)
</span><span class="cx">         , m_name(name)
</span><del>-        , m_element(0)
</del><span class="cx">     {
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -99,11 +98,10 @@
</span><span class="cx">     // The name of the canvas.
</span><span class="cx">     String m_name;
</span><span class="cx">     // The document supplies the element and owns it.
</span><del>-    HTMLCanvasElement* m_element;
</del><ins>+    HTMLCanvasElement* m_element { nullptr };
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSCanvasValue, isCanvasValue())
</span><span class="cx"> 
</span><del>-#endif // CSSCanvasValue_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSComputedStyleDeclarationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> #include &quot;CSSAspectRatioValue.h&quot;
</span><span class="cx"> #include &quot;CSSBasicShapes.h&quot;
</span><span class="cx"> #include &quot;CSSBorderImage.h&quot;
</span><ins>+#include &quot;CSSBorderImageSliceValue.h&quot;
</ins><span class="cx"> #include &quot;CSSCustomPropertyValue.h&quot;
</span><span class="cx"> #include &quot;CSSFontFeatureValue.h&quot;
</span><span class="cx"> #include &quot;CSSFontValue.h&quot;
</span><span class="lines">@@ -64,6 +65,7 @@
</span><span class="cx"> #include &quot;StyleInheritedData.h&quot;
</span><span class="cx"> #include &quot;StyleProperties.h&quot;
</span><span class="cx"> #include &quot;StylePropertyShorthand.h&quot;
</span><ins>+#include &quot;StylePropertyShorthandFunctions.h&quot;
</ins><span class="cx"> #include &quot;StyleResolver.h&quot;
</span><span class="cx"> #include &quot;WebKitCSSFilterValue.h&quot;
</span><span class="cx"> #include &quot;WebKitCSSTransformValue.h&quot;
</span><span class="lines">@@ -538,10 +540,10 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     auto quad = Quad::create();
</span><del>-    quad-&gt;setTop(top.release());
-    quad-&gt;setRight(right.release());
-    quad-&gt;setBottom(bottom.release());
-    quad-&gt;setLeft(left.release());
</del><ins>+    quad-&gt;setTop(WTFMove(top));
+    quad-&gt;setRight(WTFMove(right));
+    quad-&gt;setBottom(WTFMove(bottom));
+    quad-&gt;setLeft(WTFMove(left));
</ins><span class="cx"> 
</span><span class="cx">     return CSSBorderImageSliceValue::create(CSSValuePool::singleton().createValue(WTFMove(quad)), image.fill());
</span><span class="cx"> }
</span><span class="lines">@@ -591,10 +593,10 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     auto quad = Quad::create();
</span><del>-    quad-&gt;setTop(top);
-    quad-&gt;setRight(right);
-    quad-&gt;setBottom(bottom);
-    quad-&gt;setLeft(left);
</del><ins>+    quad-&gt;setTop(WTFMove(top));
+    quad-&gt;setRight(WTFMove(right));
+    quad-&gt;setBottom(WTFMove(bottom));
+    quad-&gt;setLeft(WTFMove(left));
</ins><span class="cx"> 
</span><span class="cx">     return cssValuePool.createValue(WTFMove(quad));
</span><span class="cx"> }
</span><span class="lines">@@ -634,7 +636,7 @@
</span><span class="cx">     // Create the repeat rules.
</span><span class="cx">     RefPtr&lt;CSSValue&gt; repeat = valueForNinePieceImageRepeat(image);
</span><span class="cx"> 
</span><del>-    return createBorderImageValue(imageValue.release(), imageSlices.release(), borderSlices.release(), outset.release(), repeat.release());
</del><ins>+    return createBorderImageValue(WTFMove(imageValue), WTFMove(imageSlices), WTFMove(borderSlices), WTFMove(outset), WTFMove(repeat));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> inline static Ref&lt;CSSPrimitiveValue&gt; zoomAdjustedPixelValue(double value, const RenderStyle&amp; style)
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSComputedStyleDeclarationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx">     Node* styledNode() const;
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;CSSValue&gt; svgPropertyValue(CSSPropertyID, EUpdateLayout) const;
</span><del>-    RefPtr&lt;SVGPaint&gt; adjustSVGPaintForCurrentColor(PassRefPtr&lt;SVGPaint&gt;, const RenderStyle*) const;
</del><ins>+    RefPtr&lt;SVGPaint&gt; adjustSVGPaintForCurrentColor(RefPtr&lt;SVGPaint&gt;&amp;&amp;, const RenderStyle*) const;
</ins><span class="cx"> 
</span><span class="cx">     static Ref&lt;CSSValue&gt; valueForShadow(const ShadowData*, CSSPropertyID, const RenderStyle&amp;, AdjustPixelValuesForComputedStyle = AdjustPixelValues);
</span><span class="cx">     RefPtr&lt;CSSPrimitiveValue&gt; currentColorOrValidColor(const RenderStyle*, const Color&amp;) const;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSFontFaceLoadEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSFontFaceLoadEvent.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSFontFaceLoadEvent.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSFontFaceLoadEvent.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-CSSFontFaceLoadEvent::CSSFontFaceLoadEvent(const AtomicString&amp; type, PassRefPtr&lt;CSSFontFaceRule&gt; fontface, PassRefPtr&lt;DOMError&gt; error)
</del><ins>+CSSFontFaceLoadEvent::CSSFontFaceLoadEvent(const AtomicString&amp; type, RefPtr&lt;CSSFontFaceRule&gt;&amp;&amp; fontface, RefPtr&lt;DOMError&gt;&amp;&amp; error)
</ins><span class="cx">     : Event(type, false, false)
</span><del>-    , m_fontface(fontface)
-    , m_error(error)
</del><ins>+    , m_fontface(WTFMove(fontface))
+    , m_error(WTFMove(error))
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSFontFaceLoadEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSFontFaceLoadEvent.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSFontFaceLoadEvent.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSFontFaceLoadEvent.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -28,21 +28,20 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><ins>+#pragma once
+
</ins><span class="cx"> #if ENABLE(FONT_LOAD_EVENTS)
</span><span class="cx"> 
</span><del>-#ifndef CSSFontFaceLoadEvent_h
-#define CSSFontFaceLoadEvent_h
-
</del><span class="cx"> #include &quot;CSSFontFaceRule.h&quot;
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><del>-#include &quot;DOMError.h&quot;
</del><span class="cx"> #include &quot;Event.h&quot;
</span><span class="cx"> #include &quot;EventNames.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class DOMError;
+
</ins><span class="cx"> struct CSSFontFaceLoadEventInit : public EventInit {
</span><span class="cx">     RefPtr&lt;CSSFontFaceRule&gt; fontface;
</span><span class="cx">     RefPtr&lt;DOMError&gt; error;
</span><span class="lines">@@ -60,14 +59,14 @@
</span><span class="cx">         return adoptRef&lt;CSSFontFaceLoadEvent&gt;(*new CSSFontFaceLoadEvent(type, initializer));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static Ref&lt;CSSFontFaceLoadEvent&gt; createForFontFaceRule(const AtomicString&amp; type, PassRefPtr&lt;CSSFontFaceRule&gt; rule)
</del><ins>+    static Ref&lt;CSSFontFaceLoadEvent&gt; createForFontFaceRule(const AtomicString&amp; type, RefPtr&lt;CSSFontFaceRule&gt;&amp;&amp; rule)
</ins><span class="cx">     {
</span><del>-        return adoptRef&lt;CSSFontFaceLoadEvent&gt;(*new CSSFontFaceLoadEvent(type, rule, 0));
</del><ins>+        return adoptRef&lt;CSSFontFaceLoadEvent&gt;(*new CSSFontFaceLoadEvent(type, WTFMove(rule), nullptr));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static Ref&lt;CSSFontFaceLoadEvent&gt; createForError(PassRefPtr&lt;CSSFontFaceRule&gt; rule, PassRefPtr&lt;DOMError&gt; error)
</del><ins>+    static Ref&lt;CSSFontFaceLoadEvent&gt; createForError(RefPtr&lt;CSSFontFaceRule&gt;&amp;&amp; rule, RefPtr&lt;DOMError&gt;&amp;&amp; error)
</ins><span class="cx">     {
</span><del>-        return adoptRef&lt;CSSFontFaceLoadEvent&gt;(*new CSSFontFaceLoadEvent(eventNames().errorEvent, rule, error));
</del><ins>+        return adoptRef&lt;CSSFontFaceLoadEvent&gt;(*new CSSFontFaceLoadEvent(eventNames().errorEvent, WTFMove(rule), WTFMove(error)));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual ~CSSFontFaceLoadEvent();
</span><span class="lines">@@ -79,7 +78,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     CSSFontFaceLoadEvent();
</span><del>-    CSSFontFaceLoadEvent(const AtomicString&amp;, PassRefPtr&lt;CSSFontFaceRule&gt;, PassRefPtr&lt;DOMError&gt;);
</del><ins>+    CSSFontFaceLoadEvent(const AtomicString&amp;, RefPtr&lt;CSSFontFaceRule&gt;&amp;&amp;, RefPtr&lt;DOMError&gt;&amp;&amp;);
</ins><span class="cx">     CSSFontFaceLoadEvent(const AtomicString&amp;, const CSSFontFaceLoadEventInit&amp;);
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;CSSFontFaceRule&gt; m_fontface;
</span><span class="lines">@@ -88,5 +87,4 @@
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><del>-#endif // CSSFontFaceLoadEvent_h
</del><span class="cx"> #endif // ENABLE(FONT_LOAD_EVENTS)
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSFontValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSFontValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSFontValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSFontValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -18,11 +18,9 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSFontValue_h
-#define CSSFontValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -58,5 +56,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSFontValue, isFontValue())
</span><del>-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSFunctionValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSFunctionValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSFunctionValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSFunctionValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,8 +23,7 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSFunctionValue_h
-#define CSSFunctionValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><span class="cx"> 
</span><span class="lines">@@ -65,6 +64,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSFunctionValue, isFunctionValue())
</span><del>-
-#endif
-
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSGradientValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSGradientValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSGradientValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSGradientValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,8 +23,7 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSGradientValue_h
-#define CSSGradientValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSImageGeneratorValue.h&quot;
</span><span class="cx"> #include &quot;CSSPrimitiveValue.h&quot;
</span><span class="lines">@@ -64,10 +63,10 @@
</span><span class="cx"> public:
</span><span class="cx">     RefPtr&lt;Image&gt; image(RenderElement*, const FloatSize&amp;);
</span><span class="cx"> 
</span><del>-    void setFirstX(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_firstX = val; }
-    void setFirstY(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_firstY = val; }
-    void setSecondX(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_secondX = val; }
-    void setSecondY(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_secondY = val; }
</del><ins>+    void setFirstX(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_firstX = WTFMove(val); }
+    void setFirstY(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_firstY = WTFMove(val); }
+    void setSecondX(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_secondX = WTFMove(val); }
+    void setSecondY(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_secondY = WTFMove(val); }
</ins><span class="cx"> 
</span><span class="cx">     void addStop(const CSSGradientColorStop&amp; stop) { m_stops.append(stop); }
</span><span class="cx"> 
</span><span class="lines">@@ -139,7 +138,7 @@
</span><span class="cx">         return adoptRef(*new CSSLinearGradientValue(repeat, gradientType));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    void setAngle(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_angle = val; }
</del><ins>+    void setAngle(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_angle = WTFMove(val); }
</ins><span class="cx"> 
</span><span class="cx">     String customCSSText() const;
</span><span class="cx"> 
</span><span class="lines">@@ -182,14 +181,14 @@
</span><span class="cx"> 
</span><span class="cx">     String customCSSText() const;
</span><span class="cx"> 
</span><del>-    void setFirstRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_firstRadius = val; }
-    void setSecondRadius(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_secondRadius = val; }
</del><ins>+    void setFirstRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_firstRadius = WTFMove(val); }
+    void setSecondRadius(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_secondRadius = WTFMove(val); }
</ins><span class="cx"> 
</span><del>-    void setShape(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_shape = val; }
-    void setSizingBehavior(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_sizingBehavior = val; }
</del><ins>+    void setShape(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_shape = WTFMove(val); }
+    void setSizingBehavior(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_sizingBehavior = WTFMove(val); }
</ins><span class="cx"> 
</span><del>-    void setEndHorizontalSize(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_endHorizontalSize = val; }
-    void setEndVerticalSize(PassRefPtr&lt;CSSPrimitiveValue&gt; val) { m_endVerticalSize = val; }
</del><ins>+    void setEndHorizontalSize(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_endHorizontalSize = WTFMove(val); }
+    void setEndVerticalSize(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; val) { m_endVerticalSize = WTFMove(val); }
</ins><span class="cx"> 
</span><span class="cx">     // Create the gradient for a given size.
</span><span class="cx">     Ref&lt;Gradient&gt; createGradient(RenderElement&amp;, const FloatSize&amp;);
</span><span class="lines">@@ -234,5 +233,3 @@
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSGradientValue, isGradientValue())
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSLinearGradientValue, isLinearGradientValue())
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSRadialGradientValue, isRadialGradientValue())
</span><del>-
-#endif // CSSGradientValue_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSGroupingRulecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSGroupingRule.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSGroupingRule.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSGroupingRule.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -133,7 +133,7 @@
</span><span class="cx"> CSSRule* CSSGroupingRule::item(unsigned index) const
</span><span class="cx"> { 
</span><span class="cx">     if (index &gt;= length())
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx">     ASSERT(m_childRuleCSSOMWrappers.size() == m_groupRule-&gt;childRules().size());
</span><span class="cx">     RefPtr&lt;CSSRule&gt;&amp; rule = m_childRuleCSSOMWrappers[index];
</span><span class="cx">     if (!rule)
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx"> CSSRuleList&amp; CSSGroupingRule::cssRules() const
</span><span class="cx"> {
</span><span class="cx">     if (!m_ruleListCSSOMWrapper)
</span><del>-        m_ruleListCSSOMWrapper = std::make_unique&lt;LiveCSSRuleList&lt;CSSGroupingRule&gt;&gt;(const_cast&lt;CSSGroupingRule*&gt;(this));
</del><ins>+        m_ruleListCSSOMWrapper = std::make_unique&lt;LiveCSSRuleList&lt;CSSGroupingRule&gt;&gt;(const_cast&lt;CSSGroupingRule&amp;&gt;(*this));
</ins><span class="cx">     return *m_ruleListCSSOMWrapper;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSKeyframesRulecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSKeyframesRule.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSKeyframesRule.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSKeyframesRule.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -193,7 +193,7 @@
</span><span class="cx"> CSSRuleList&amp; CSSKeyframesRule::cssRules()
</span><span class="cx"> {
</span><span class="cx">     if (!m_ruleListCSSOMWrapper)
</span><del>-        m_ruleListCSSOMWrapper = std::make_unique&lt;LiveCSSRuleList&lt;CSSKeyframesRule&gt;&gt;(this);
</del><ins>+        m_ruleListCSSOMWrapper = std::make_unique&lt;LiveCSSRuleList&lt;CSSKeyframesRule&gt;&gt;(*this);
</ins><span class="cx">     return *m_ruleListCSSOMWrapper;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> #include &quot;CSSAspectRatioValue.h&quot;
</span><span class="cx"> #include &quot;CSSBasicShapes.h&quot;
</span><span class="cx"> #include &quot;CSSBorderImage.h&quot;
</span><ins>+#include &quot;CSSBorderImageSliceValue.h&quot;
</ins><span class="cx"> #include &quot;CSSCanvasValue.h&quot;
</span><span class="cx"> #include &quot;CSSContentDistributionValue.h&quot;
</span><span class="cx"> #include &quot;CSSCrossfadeValue.h&quot;
</span><span class="lines">@@ -90,6 +91,7 @@
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;StyleProperties.h&quot;
</span><span class="cx"> #include &quot;StylePropertyShorthand.h&quot;
</span><ins>+#include &quot;StylePropertyShorthandFunctions.h&quot;
</ins><span class="cx"> #include &quot;StyleRule.h&quot;
</span><span class="cx"> #include &quot;StyleRuleImport.h&quot;
</span><span class="cx"> #include &quot;StyleSheetContents.h&quot;
</span><span class="lines">@@ -1646,15 +1648,15 @@
</span><span class="cx"> {
</span><span class="cx">     // This property doesn't belong to a shorthand or is a CSS variable (which will be resolved later).
</span><span class="cx">     if (!m_currentShorthand) {
</span><del>-        m_parsedProperties.append(CSSProperty(propId, value, important, false, CSSPropertyInvalid, m_implicitShorthand || implicit));
</del><ins>+        m_parsedProperties.append(CSSProperty(propId, WTFMove(value), important, false, CSSPropertyInvalid, m_implicitShorthand || implicit));
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     Vector&lt;StylePropertyShorthand&gt; shorthands = matchingShorthandsForLonghand(propId);
</span><span class="cx">     if (shorthands.size() == 1)
</span><del>-        m_parsedProperties.append(CSSProperty(propId, value, important, true, CSSPropertyInvalid, m_implicitShorthand || implicit));
</del><ins>+        m_parsedProperties.append(CSSProperty(propId, WTFMove(value), important, true, CSSPropertyInvalid, m_implicitShorthand || implicit));
</ins><span class="cx">     else
</span><del>-        m_parsedProperties.append(CSSProperty(propId, value, important, true, indexOfShorthandForLonghand(m_currentShorthand, shorthands), m_implicitShorthand || implicit));
</del><ins>+        m_parsedProperties.append(CSSProperty(propId, WTFMove(value), important, true, indexOfShorthandForLonghand(m_currentShorthand, shorthands), m_implicitShorthand || implicit));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void CSSParser::rollbackLastProperties(int num)
</span><span class="lines">@@ -1880,20 +1882,19 @@
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void CSSParser::addExpandedPropertyForValue(CSSPropertyID propId, RefPtr&lt;CSSValue&gt;&amp;&amp; prpValue, bool important)
</del><ins>+void CSSParser::addExpandedPropertyForValue(CSSPropertyID propId, RefPtr&lt;CSSValue&gt;&amp;&amp; value, bool important)
</ins><span class="cx"> {
</span><span class="cx">     const StylePropertyShorthand&amp; shorthand = shorthandForProperty(propId);
</span><span class="cx">     unsigned shorthandLength = shorthand.length();
</span><span class="cx">     if (!shorthandLength) {
</span><del>-        addProperty(propId, WTFMove(prpValue), important);
</del><ins>+        addProperty(propId, WTFMove(value), important);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CSSValue&gt; value = prpValue;
</del><span class="cx">     ShorthandScope scope(this, propId);
</span><span class="cx">     const CSSPropertyID* longhands = shorthand.properties();
</span><span class="cx">     for (unsigned i = 0; i &lt; shorthandLength; ++i)
</span><del>-        addProperty(longhands[i], WTFMove(value), important);
</del><ins>+        addProperty(longhands[i], value.copyRef(), important);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> RefPtr&lt;CSSValue&gt; CSSParser::parseVariableDependentValue(CSSPropertyID propID, const CSSVariableDependentValue&amp; dependentValue, const CustomPropertyValueMap&amp; customProperties)
</span><span class="lines">@@ -5114,12 +5115,12 @@
</span><span class="cx">         if (!validateUnit(firstArgumentWithCalculation, FLength))
</span><span class="cx">             return nullptr;
</span><span class="cx"> 
</span><del>-        RefPtr&lt;CSSValue&gt; startValue = createPrimitiveNumericValue(firstArgumentWithCalculation);
</del><ins>+        Ref&lt;CSSValue&gt; startValue = createPrimitiveNumericValue(firstArgumentWithCalculation);
</ins><span class="cx"> 
</span><span class="cx">         argument = args-&gt;next();
</span><span class="cx"> 
</span><span class="cx">         if (!argument)
</span><del>-            return CSSAnimationTriggerScrollValue::create(startValue.release());
</del><ins>+            return CSSAnimationTriggerScrollValue::create(WTFMove(startValue));
</ins><span class="cx"> 
</span><span class="cx">         if (!isComma(argument))
</span><span class="cx">             return nullptr;
</span><span class="lines">@@ -5129,9 +5130,9 @@
</span><span class="cx">         if (!validateUnit(secondArgumentWithCalculation, FLength))
</span><span class="cx">             return nullptr;
</span><span class="cx"> 
</span><del>-        RefPtr&lt;CSSValue&gt; endValue = createPrimitiveNumericValue(secondArgumentWithCalculation);
</del><ins>+        Ref&lt;CSSValue&gt; endValue = createPrimitiveNumericValue(secondArgumentWithCalculation);
</ins><span class="cx"> 
</span><del>-        return CSSAnimationTriggerScrollValue::create(startValue.release(), endValue.release());
</del><ins>+        return CSSAnimationTriggerScrollValue::create(WTFMove(startValue), WTFMove(endValue));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     return nullptr;
</span><span class="lines">@@ -6234,10 +6235,10 @@
</span><span class="cx">             // This originally used CSSValueInvalid by accident. It might be more logical to use something else.
</span><span class="cx">             RefPtr&lt;CSSPrimitiveValue&gt; amount = CSSValuePool::singleton().createIdentifierValue(CSSValueInvalid);
</span><span class="cx"> 
</span><del>-            region-&gt;setTop(amount);
-            region-&gt;setRight(amount);
-            region-&gt;setBottom(amount);
-            region-&gt;setLeft(amount);
</del><ins>+            region-&gt;setTop(amount.copyRef());
+            region-&gt;setRight(amount.copyRef());
+            region-&gt;setBottom(amount.copyRef());
+            region-&gt;setLeft(WTFMove(amount));
</ins><span class="cx">         } else {
</span><span class="cx">             // Next four arguments must be offset numbers
</span><span class="cx">             for (int i = 0; i &lt; 4; ++i) {
</span><span class="lines">@@ -6252,13 +6253,13 @@
</span><span class="cx">                 RefPtr&lt;CSSPrimitiveValue&gt; amount = arg-&gt;id == CSSValueAuto ? CSSValuePool::singleton().createIdentifierValue(CSSValueAuto) : createPrimitiveNumericValue(argWithCalculation);
</span><span class="cx"> 
</span><span class="cx">                 if (i == 0)
</span><del>-                    region-&gt;setTop(amount);
</del><ins>+                    region-&gt;setTop(WTFMove(amount));
</ins><span class="cx">                 else if (i == 1)
</span><del>-                    region-&gt;setRight(amount);
</del><ins>+                    region-&gt;setRight(WTFMove(amount));
</ins><span class="cx">                 else if (i == 2)
</span><del>-                    region-&gt;setBottom(amount);
</del><ins>+                    region-&gt;setBottom(WTFMove(amount));
</ins><span class="cx">                 else
</span><del>-                    region-&gt;setLeft(amount);
</del><ins>+                    region-&gt;setLeft(WTFMove(amount));
</ins><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -6470,13 +6471,13 @@
</span><span class="cx">             break;
</span><span class="cx">         RefPtr&lt;CSSPrimitiveValue&gt; length = argument-&gt;id == CSSValueAuto ? CSSValuePool::singleton().createIdentifierValue(CSSValueAuto) : createPrimitiveNumericValue(argumentWithCalculation);
</span><span class="cx">         if (i == 0)
</span><del>-            rect-&gt;setTop(length);
</del><ins>+            rect-&gt;setTop(WTFMove(length));
</ins><span class="cx">         else if (i == 1)
</span><del>-            rect-&gt;setRight(length);
</del><ins>+            rect-&gt;setRight(WTFMove(length));
</ins><span class="cx">         else if (i == 2)
</span><del>-            rect-&gt;setBottom(length);
</del><ins>+            rect-&gt;setBottom(WTFMove(length));
</ins><span class="cx">         else
</span><del>-            rect-&gt;setLeft(length);
</del><ins>+            rect-&gt;setLeft(WTFMove(length));
</ins><span class="cx">         argument = args-&gt;next();
</span><span class="cx">         if (argument &amp;&amp; args-&gt;size() == 7) {
</span><span class="cx">             if (argument-&gt;unit == CSSParserValue::Operator &amp;&amp; argument-&gt;iValue == ',') {
</span><span class="lines">@@ -6651,7 +6652,7 @@
</span><span class="cx"> 
</span><span class="cx">         if (!args.currentIndex() &amp;&amp; argument-&gt;id != CSSValueAt) {
</span><span class="cx">             if (RefPtr&lt;CSSPrimitiveValue&gt; radius = parseShapeRadius(*argument)) {
</span><del>-                shape-&gt;setRadius(radius);
</del><ins>+                shape-&gt;setRadius(WTFMove(radius));
</ins><span class="cx">                 continue;
</span><span class="cx">             }
</span><span class="cx"> 
</span><span class="lines">@@ -6663,8 +6664,8 @@
</span><span class="cx">             RefPtr&lt;CSSPrimitiveValue&gt; centerY;
</span><span class="cx">             parseFillPosition(args, centerX, centerY);
</span><span class="cx">             if (centerX &amp;&amp; centerY &amp;&amp; !args.current()) {
</span><del>-                shape-&gt;setCenterX(centerX);
-                shape-&gt;setCenterY(centerY);
</del><ins>+                shape-&gt;setCenterX(WTFMove(centerX));
+                shape-&gt;setCenterY(WTFMove(centerY));
</ins><span class="cx">             } else
</span><span class="cx">                 return nullptr;
</span><span class="cx">         } else
</span><span class="lines">@@ -8245,7 +8246,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;CSSValue&gt; commitWebKitBorderImage()
</span><span class="cx">     {
</span><del>-        return createBorderImageValue(m_image, m_imageSlice, m_borderSlice, m_outset, m_repeat);
</del><ins>+        return createBorderImageValue(m_image.copyRef(), m_imageSlice.copyRef(), m_borderSlice.copyRef(), m_outset.copyRef(), m_repeat.copyRef());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     void commitBorderImage(CSSParser&amp; parser, bool important)
</span><span class="lines">@@ -8447,10 +8448,10 @@
</span><span class="cx"> 
</span><span class="cx">         // Now build a rect value to hold all four of our primitive values.
</span><span class="cx">         auto quad = Quad::create();
</span><del>-        quad-&gt;setTop(m_top);
-        quad-&gt;setRight(m_right);
-        quad-&gt;setBottom(m_bottom);
-        quad-&gt;setLeft(m_left);
</del><ins>+        quad-&gt;setTop(m_top.copyRef());
+        quad-&gt;setRight(m_right.copyRef());
+        quad-&gt;setBottom(m_bottom.copyRef());
+        quad-&gt;setLeft(m_left.copyRef());
</ins><span class="cx"> 
</span><span class="cx">         // Make our new border image value now.
</span><span class="cx">         return CSSBorderImageSliceValue::create(CSSValuePool::singleton().createValue(WTFMove(quad)), m_fill);
</span><span class="lines">@@ -8565,10 +8566,10 @@
</span><span class="cx"> 
</span><span class="cx">         // Now build a quad value to hold all four of our primitive values.
</span><span class="cx">         auto quad = Quad::create();
</span><del>-        quad-&gt;setTop(m_top);
-        quad-&gt;setRight(m_right);
-        quad-&gt;setBottom(m_bottom);
-        quad-&gt;setLeft(m_left);
</del><ins>+        quad-&gt;setTop(m_top.copyRef());
+        quad-&gt;setRight(m_right.copyRef());
+        quad-&gt;setBottom(m_bottom.copyRef());
+        quad-&gt;setLeft(m_left.copyRef());
</ins><span class="cx"> 
</span><span class="cx">         // Make our new value now.
</span><span class="cx">         return CSSValuePool::singleton().createValue(WTFMove(quad));
</span><span class="lines">@@ -9109,11 +9110,11 @@
</span><span class="cx">             return false;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    result-&gt;setFirstX(centerX);
-    result-&gt;setSecondX(centerX);
</del><ins>+    result-&gt;setFirstX(centerX.copyRef());
+    result-&gt;setSecondX(WTFMove(centerX));
</ins><span class="cx">     // CSS3 radial gradients always share the same start and end point.
</span><del>-    result-&gt;setFirstY(centerY);
-    result-&gt;setSecondY(centerY);
</del><ins>+    result-&gt;setFirstY(centerY.copyRef());
+    result-&gt;setSecondY(WTFMove(centerY));
</ins><span class="cx"> 
</span><span class="cx">     RefPtr&lt;CSSPrimitiveValue&gt; shapeValue;
</span><span class="cx">     RefPtr&lt;CSSPrimitiveValue&gt; sizeValue;
</span><span class="lines">@@ -9152,8 +9153,8 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    result-&gt;setShape(shapeValue);
-    result-&gt;setSizingBehavior(sizeValue);
</del><ins>+    result-&gt;setShape(shapeValue.copyRef());
+    result-&gt;setSizingBehavior(sizeValue.copyRef());
</ins><span class="cx"> 
</span><span class="cx">     // Or, two lengths or percentages
</span><span class="cx">     RefPtr&lt;CSSPrimitiveValue&gt; horizontalSize;
</span><span class="lines">@@ -9185,8 +9186,8 @@
</span><span class="cx">     if (!horizontalSize != !verticalSize)
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    result-&gt;setEndHorizontalSize(horizontalSize);
-    result-&gt;setEndVerticalSize(verticalSize);
</del><ins>+    result-&gt;setEndHorizontalSize(WTFMove(horizontalSize));
+    result-&gt;setEndVerticalSize(WTFMove(verticalSize));
</ins><span class="cx"> 
</span><span class="cx">     if (!parseGradientColorStops(*args, *result, expectComma))
</span><span class="cx">         return false;
</span><span class="lines">@@ -9355,10 +9356,10 @@
</span><span class="cx">     if (!verticalSize &amp;&amp; horizontalSize &amp;&amp; horizontalSize-&gt;isPercentage())
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    result-&gt;setShape(shapeValue);
-    result-&gt;setSizingBehavior(sizeValue);
-    result-&gt;setEndHorizontalSize(horizontalSize);
-    result-&gt;setEndVerticalSize(verticalSize);
</del><ins>+    result-&gt;setShape(shapeValue.copyRef());
+    result-&gt;setSizingBehavior(sizeValue.copyRef());
+    result-&gt;setEndHorizontalSize(horizontalSize.copyRef());
+    result-&gt;setEndVerticalSize(verticalSize.copyRef());
</ins><span class="cx"> 
</span><span class="cx">     // Second part of grammar, the center-position clause:
</span><span class="cx">     // at &lt;position&gt;
</span><span class="lines">@@ -9377,11 +9378,11 @@
</span><span class="cx">         if (!argument)
</span><span class="cx">             return false;
</span><span class="cx"> 
</span><del>-        result-&gt;setFirstX(centerX);
-        result-&gt;setFirstY(centerY);
</del><ins>+        result-&gt;setFirstX(centerX.copyRef());
+        result-&gt;setFirstY(centerY.copyRef());
</ins><span class="cx">         // Right now, CSS radial gradients have the same start and end centers.
</span><del>-        result-&gt;setSecondX(centerX);
-        result-&gt;setSecondY(centerY);
</del><ins>+        result-&gt;setSecondX(centerX.copyRef());
+        result-&gt;setSecondY(centerY.copyRef());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (shapeValue || sizeValue || horizontalSize || centerX || centerY)
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParserh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSParser.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -20,8 +20,7 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSParser_h
-#define CSSParser_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSCalculationValue.h&quot;
</span><span class="cx"> #include &quot;CSSGradientValue.h&quot;
</span><span class="lines">@@ -778,5 +777,3 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // CSSParser_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSPrimitiveValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSPrimitiveValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSPrimitiveValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSPrimitiveValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,8 +19,7 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSPrimitiveValue_h
-#define CSSPrimitiveValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPropertyNames.h&quot;
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><span class="lines">@@ -469,5 +468,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSPrimitiveValue, isPrimitiveValue())
</span><del>-
-#endif // CSSPrimitiveValue_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSPropertycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSProperty.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSProperty.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSProperty.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -24,6 +24,7 @@
</span><span class="cx"> #include &quot;CSSValueList.h&quot;
</span><span class="cx"> #include &quot;RenderStyleConstants.h&quot;
</span><span class="cx"> #include &quot;StylePropertyShorthand.h&quot;
</span><ins>+#include &quot;StylePropertyShorthandFunctions.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringBuilder.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSPropertyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSProperty.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSProperty.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSProperty.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,14 +19,11 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSProperty_h
-#define CSSProperty_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPropertyNames.h&quot;
</span><span class="cx"> #include &quot;CSSValue.h&quot;
</span><del>-#include &quot;RenderStyleConstants.h&quot;
</del><span class="cx"> #include &quot;WritingMode.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -64,9 +61,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CSSProperty {
</span><span class="cx"> public:
</span><del>-    CSSProperty(CSSPropertyID propertyID, PassRefPtr&lt;CSSValue&gt; value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false)
</del><ins>+    CSSProperty(CSSPropertyID propertyID, RefPtr&lt;CSSValue&gt;&amp;&amp; value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false)
</ins><span class="cx">         : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, isInheritedProperty(propertyID))
</span><del>-        , m_value(value)
</del><ins>+        , m_value(WTFMove(value))
</ins><span class="cx">     {
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -180,5 +177,3 @@
</span><span class="cx">     static const bool canMoveWithMemcpy = true;
</span><span class="cx"> };
</span><span class="cx"> }
</span><del>-
-#endif // CSSProperty_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSRuleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSRule.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSRule.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSRule.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -20,8 +20,7 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSRule_h
-#define CSSRule_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/TypeCasts.h&gt;
</span><span class="lines">@@ -123,4 +122,3 @@
</span><span class="cx">     static bool isType(const WebCore::CSSRule&amp; rule) { return rule.type() == WebCore::predicate; } \
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_END()
</span><span class="cx"> 
</span><del>-#endif // CSSRule_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSRuleListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSRuleList.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSRuleList.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSRuleList.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,14 +19,11 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef CSSRuleList_h
-#define CSSRuleList_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><del>-#include &lt;wtf/text/WTFString.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="lines">@@ -76,19 +73,20 @@
</span><span class="cx"> template &lt;class Rule&gt;
</span><span class="cx"> class LiveCSSRuleList final : public CSSRuleList {
</span><span class="cx"> public:
</span><del>-    LiveCSSRuleList(Rule* rule) : m_rule(rule) { }
</del><ins>+    LiveCSSRuleList(Rule&amp; rule)
+        : m_rule(rule)
+    {
+    }
</ins><span class="cx">     
</span><del>-    void ref() override { m_rule-&gt;ref(); }
-    void deref() override { m_rule-&gt;deref(); }
</del><ins>+    void ref() override { m_rule.ref(); }
+    void deref() override { m_rule.deref(); }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    unsigned length() const override { return m_rule-&gt;length(); }
-    CSSRule* item(unsigned index) const override { return m_rule-&gt;item(index); }
-    CSSStyleSheet* styleSheet() const override { return m_rule-&gt;parentStyleSheet(); }
</del><ins>+    unsigned length() const override { return m_rule.length(); }
+    CSSRule* item(unsigned index) const override { return m_rule.item(index); }
+    CSSStyleSheet* styleSheet() const override { return m_rule.parentStyleSheet(); }
</ins><span class="cx">     
</span><del>-    Rule* m_rule;
</del><ins>+    Rule&amp; m_rule;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // CSSRuleList_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSSegmentedFontFaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSSegmentedFontFace.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSSegmentedFontFace.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/CSSSegmentedFontFace.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -28,9 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSFontFace.h&quot;
</span><span class="cx"> #include &quot;FontCache.h&quot;
</span><del>-#include &quot;FontRanges.h&quot;
</del><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -38,6 +36,7 @@
</span><span class="cx"> 
</span><span class="cx"> class CSSFontSelector;
</span><span class="cx"> class FontDescription;
</span><ins>+class FontRanges;
</ins><span class="cx"> 
</span><span class="cx"> class CSSSegmentedFontFace final : public RefCounted&lt;CSSSegmentedFontFace&gt;, public CSSFontFace::Client {
</span><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCounterh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/Counter.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/Counter.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/Counter.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -18,8 +18,7 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef Counter_h
-#define Counter_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPrimitiveValue.h&quot;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="lines">@@ -28,9 +27,9 @@
</span><span class="cx"> 
</span><span class="cx"> class Counter : public RefCounted&lt;Counter&gt; {
</span><span class="cx"> public:
</span><del>-    static Ref&lt;Counter&gt; create(PassRefPtr&lt;CSSPrimitiveValue&gt; identifier, PassRefPtr&lt;CSSPrimitiveValue&gt; listStyle, PassRefPtr&lt;CSSPrimitiveValue&gt; separator)
</del><ins>+    static Ref&lt;Counter&gt; create(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; identifier, RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; listStyle, RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; separator)
</ins><span class="cx">     {
</span><del>-        return adoptRef(*new Counter(identifier, listStyle, separator));
</del><ins>+        return adoptRef(*new Counter(WTFMove(identifier), WTFMove(listStyle), WTFMove(separator)));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     String identifier() const { return m_identifier ? m_identifier-&gt;getStringValue() : String(); }
</span><span class="lines">@@ -39,9 +38,9 @@
</span><span class="cx"> 
</span><span class="cx">     CSSValueID listStyleIdent() const { return m_listStyle ? m_listStyle-&gt;getValueID() : CSSValueInvalid; }
</span><span class="cx"> 
</span><del>-    void setIdentifier(PassRefPtr&lt;CSSPrimitiveValue&gt; identifier) { m_identifier = identifier; }
-    void setListStyle(PassRefPtr&lt;CSSPrimitiveValue&gt; listStyle) { m_listStyle = listStyle; }
-    void setSeparator(PassRefPtr&lt;CSSPrimitiveValue&gt; separator) { m_separator = separator; }
</del><ins>+    void setIdentifier(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; identifier) { m_identifier = WTFMove(identifier); }
+    void setListStyle(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; listStyle) { m_listStyle = WTFMove(listStyle); }
+    void setSeparator(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; separator) { m_separator = WTFMove(separator); }
</ins><span class="cx"> 
</span><span class="cx">     bool equals(const Counter&amp; other) const
</span><span class="cx">     {
</span><span class="lines">@@ -58,10 +57,10 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    Counter(PassRefPtr&lt;CSSPrimitiveValue&gt; identifier, PassRefPtr&lt;CSSPrimitiveValue&gt; listStyle, PassRefPtr&lt;CSSPrimitiveValue&gt; separator)
-        : m_identifier(identifier)
-        , m_listStyle(listStyle)
-        , m_separator(separator)
</del><ins>+    Counter(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; identifier, RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; listStyle, RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; separator)
+        : m_identifier(WTFMove(identifier))
+        , m_listStyle(WTFMove(listStyle))
+        , m_separator(WTFMove(separator))
</ins><span class="cx">     {
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -71,5 +70,3 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // Counter_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssPairh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/Pair.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/Pair.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/Pair.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -18,16 +18,14 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef Pair_h
-#define Pair_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><del>-#include &quot;CSSPrimitiveValue.h&quot;
-#include &lt;wtf/PassRefPtr.h&gt;
-#include &lt;wtf/text/StringBuilder.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+class CSSPrimitiveValue;
+
</ins><span class="cx"> // A primitive value representing a pair.  This is useful for properties like border-radius, background-size/position,
</span><span class="cx"> // and border-spacing (all of which are space-separated sets of two values).  At the moment we are only using it for
</span><span class="cx"> // border-radius and background-size, but (FIXME) border-spacing and background-position could be converted over to use
</span><span class="lines">@@ -73,5 +71,3 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace
</span><del>-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorecssRecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/Rect.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/Rect.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/Rect.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -18,8 +18,7 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef Rect_h
-#define Rect_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPrimitiveValue.h&quot;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="lines">@@ -34,10 +33,10 @@
</span><span class="cx">     CSSPrimitiveValue* bottom() const { return m_bottom.get(); }
</span><span class="cx">     CSSPrimitiveValue* left() const { return m_left.get(); }
</span><span class="cx"> 
</span><del>-    void setTop(PassRefPtr&lt;CSSPrimitiveValue&gt; top) { m_top = top; }
-    void setRight(PassRefPtr&lt;CSSPrimitiveValue&gt; right) { m_right = right; }
-    void setBottom(PassRefPtr&lt;CSSPrimitiveValue&gt; bottom) { m_bottom = bottom; }
-    void setLeft(PassRefPtr&lt;CSSPrimitiveValue&gt; left) { m_left = left; }
</del><ins>+    void setTop(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; top) { m_top = WTFMove(top); }
+    void setRight(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; right) { m_right = WTFMove(right); }
+    void setBottom(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; bottom) { m_bottom = WTFMove(bottom); }
+    void setLeft(RefPtr&lt;CSSPrimitiveValue&gt;&amp;&amp; left) { m_left = WTFMove(left); }
</ins><span class="cx"> 
</span><span class="cx">     bool equals(const RectBase&amp; other) const
</span><span class="cx">     {
</span><span class="lines">@@ -123,5 +122,3 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // Rect_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssRuleSetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/RuleSet.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/RuleSet.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/RuleSet.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -42,6 +42,7 @@
</span><span class="cx"> #include &quot;StyleRule.h&quot;
</span><span class="cx"> #include &quot;StyleRuleImport.h&quot;
</span><span class="cx"> #include &quot;StyleSheetContents.h&quot;
</span><ins>+#include &quot;ViewportStyleResolver.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="cx"> #include &quot;TextTrackCue.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssSVGCSSComputedStyleDeclarationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -93,12 +93,11 @@
</span><span class="cx">     return list;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RefPtr&lt;SVGPaint&gt; ComputedStyleExtractor::adjustSVGPaintForCurrentColor(PassRefPtr&lt;SVGPaint&gt; newPaint, const RenderStyle* style) const
</del><ins>+RefPtr&lt;SVGPaint&gt; ComputedStyleExtractor::adjustSVGPaintForCurrentColor(RefPtr&lt;SVGPaint&gt;&amp;&amp; paint, const RenderStyle* style) const
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;SVGPaint&gt; paint = newPaint;
</del><span class="cx">     if (paint-&gt;paintType() == SVGPaint::SVG_PAINTTYPE_CURRENTCOLOR || paint-&gt;paintType() == SVGPaint::SVG_PAINTTYPE_URI_CURRENTCOLOR)
</span><span class="cx">         paint-&gt;setColor(style-&gt;color());
</span><del>-    return paint;
</del><ins>+    return WTFMove(paint);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> RefPtr&lt;CSSValue&gt; ComputedStyleExtractor::svgPropertyValue(CSSPropertyID propertyID, EUpdateLayout updateLayout) const
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleBuilderConverterh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleBuilderConverter.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleBuilderConverter.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleBuilderConverter.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -503,7 +503,7 @@
</span><span class="cx">         auto&amp; primitiveValue = downcast&lt;CSSPrimitiveValue&gt;(currentValue.get());
</span><span class="cx">         if (primitiveValue.isShape()) {
</span><span class="cx">             ASSERT(!operation);
</span><del>-            operation = ShapeClipPathOperation::create(basicShapeForValue(styleResolver.state().cssToLengthConversionData(), primitiveValue.getShapeValue()));
</del><ins>+            operation = ShapeClipPathOperation::create(basicShapeForValue(styleResolver.state().cssToLengthConversionData(), *primitiveValue.getShapeValue()));
</ins><span class="cx">         } else {
</span><span class="cx">             ASSERT(primitiveValue.getValueID() == CSSValueContentBox
</span><span class="cx">                    || primitiveValue.getValueID() == CSSValueBorderBox
</span><span class="lines">@@ -751,7 +751,7 @@
</span><span class="cx">     for (auto&amp; currentValue : downcast&lt;CSSValueList&gt;(value)) {
</span><span class="cx">         CSSPrimitiveValue&amp; primitiveValue = downcast&lt;CSSPrimitiveValue&gt;(currentValue.get());
</span><span class="cx">         if (primitiveValue.isShape())
</span><del>-            shape = basicShapeForValue(styleResolver.state().cssToLengthConversionData(), primitiveValue.getShapeValue());
</del><ins>+            shape = basicShapeForValue(styleResolver.state().cssToLengthConversionData(), *primitiveValue.getShapeValue());
</ins><span class="cx">         else if (primitiveValue.getValueID() == CSSValueContentBox
</span><span class="cx">             || primitiveValue.getValueID() == CSSValueBorderBox
</span><span class="cx">             || primitiveValue.getValueID() == CSSValuePaddingBox
</span></span></pre></div>
<a id="trunkSourceWebCorecssStylePropertiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleProperties.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleProperties.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleProperties.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;PropertySetCSSStyleDeclaration.h&quot;
</span><span class="cx"> #include &quot;StylePropertyShorthand.h&quot;
</span><ins>+#include &quot;StylePropertyShorthandFunctions.h&quot;
</ins><span class="cx"> #include &quot;StyleSheetContents.h&quot;
</span><span class="cx"> #include &lt;bitset&gt;
</span><span class="cx"> #include &lt;wtf/text/StringBuilder.h&gt;
</span><span class="lines">@@ -606,9 +607,9 @@
</span><span class="cx">     return result.isEmpty() ? String() : result.toString();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;CSSValue&gt; StyleProperties::getPropertyCSSValue(CSSPropertyID propertyID) const
</del><ins>+RefPtr&lt;CSSValue&gt; StyleProperties::getPropertyCSSValue(CSSPropertyID propertyID) const
</ins><span class="cx"> {
</span><del>-    PassRefPtr&lt;CSSValue&gt; value = getPropertyCSSValueInternal(propertyID);
</del><ins>+    RefPtr&lt;CSSValue&gt; value = getPropertyCSSValueInternal(propertyID);
</ins><span class="cx">     if (value &amp;&amp; value-&gt;isVariableDependentValue()) {
</span><span class="cx">         auto&amp; dependentValue = downcast&lt;CSSVariableDependentValue&gt;(*value);
</span><span class="cx">         if (dependentValue.propertyID() != propertyID)
</span><span class="lines">@@ -617,7 +618,7 @@
</span><span class="cx">     return value;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;CSSValue&gt; StyleProperties::getPropertyCSSValueInternal(CSSPropertyID propertyID) const
</del><ins>+RefPtr&lt;CSSValue&gt; StyleProperties::getPropertyCSSValueInternal(CSSPropertyID propertyID) const
</ins><span class="cx"> {
</span><span class="cx">     int foundPropertyIndex = findPropertyIndex(propertyID);
</span><span class="cx">     if (foundPropertyIndex == -1)
</span><span class="lines">@@ -751,19 +752,18 @@
</span><span class="cx">     return CSSParser::parseCustomPropertyValue(this, propertyName, value, important, cssParserMode(), contextStyleSheet) == CSSParser::ParseResult::Changed;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void MutableStyleProperties::setProperty(CSSPropertyID propertyID, PassRefPtr&lt;CSSValue&gt; prpValue, bool important)
</del><ins>+void MutableStyleProperties::setProperty(CSSPropertyID propertyID, RefPtr&lt;CSSValue&gt;&amp;&amp; value, bool important)
</ins><span class="cx"> {
</span><span class="cx">     StylePropertyShorthand shorthand = shorthandForProperty(propertyID);
</span><span class="cx">     if (!shorthand.length()) {
</span><del>-        setProperty(CSSProperty(propertyID, prpValue, important));
</del><ins>+        setProperty(CSSProperty(propertyID, WTFMove(value), important));
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     removePropertiesInSet(shorthand.properties(), shorthand.length());
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CSSValue&gt; value = prpValue;
</del><span class="cx">     for (unsigned i = 0; i &lt; shorthand.length(); ++i)
</span><del>-        m_propertyVector.append(CSSProperty(shorthand.properties()[i], value, important));
</del><ins>+        m_propertyVector.append(CSSProperty(shorthand.properties()[i], value.copyRef(), important));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool MutableStyleProperties::setProperty(const CSSProperty&amp; property, CSSProperty* slot)
</span></span></pre></div>
<a id="trunkSourceWebCorecssStylePropertiesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleProperties.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleProperties.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleProperties.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,13 +19,10 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef StyleProperties_h
-#define StyleProperties_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSParserMode.h&quot;
</span><del>-#include &quot;CSSPrimitiveValue.h&quot;
</del><span class="cx"> #include &quot;CSSProperty.h&quot;
</span><del>-#include &quot;CSSPropertyNames.h&quot;
</del><span class="cx"> #include &quot;CSSValueKeywords.h&quot;
</span><span class="cx"> #include &lt;memory&gt;
</span><span class="cx"> #include &lt;wtf/ListHashSet.h&gt;
</span><span class="lines">@@ -85,7 +82,7 @@
</span><span class="cx">     bool isEmpty() const { return !propertyCount(); }
</span><span class="cx">     PropertyReference propertyAt(unsigned) const;
</span><span class="cx"> 
</span><del>-    WEBCORE_EXPORT PassRefPtr&lt;CSSValue&gt; getPropertyCSSValue(CSSPropertyID) const;
</del><ins>+    WEBCORE_EXPORT RefPtr&lt;CSSValue&gt; getPropertyCSSValue(CSSPropertyID) const;
</ins><span class="cx">     WEBCORE_EXPORT String getPropertyValue(CSSPropertyID) const;
</span><span class="cx">     bool propertyIsImportant(CSSPropertyID) const;
</span><span class="cx">     String getPropertyShorthand(CSSPropertyID) const;
</span><span class="lines">@@ -152,7 +149,7 @@
</span><span class="cx">     String fontValue() const;
</span><span class="cx">     void appendFontLonghandValueIfExplicit(CSSPropertyID, StringBuilder&amp; result, String&amp; value) const;
</span><span class="cx">     
</span><del>-    PassRefPtr&lt;CSSValue&gt; getPropertyCSSValueInternal(CSSPropertyID) const;
</del><ins>+    RefPtr&lt;CSSValue&gt; getPropertyCSSValueInternal(CSSPropertyID) const;
</ins><span class="cx">     
</span><span class="cx">     friend class PropertySetCSSStyleDeclaration;
</span><span class="cx"> };
</span><span class="lines">@@ -205,7 +202,7 @@
</span><span class="cx"> 
</span><span class="cx">     // These expand shorthand properties into multiple properties.
</span><span class="cx">     bool setProperty(CSSPropertyID, const String&amp; value, bool important = false, StyleSheetContents* contextStyleSheet = 0);
</span><del>-    void setProperty(CSSPropertyID, PassRefPtr&lt;CSSValue&gt;, bool important = false);
</del><ins>+    void setProperty(CSSPropertyID, RefPtr&lt;CSSValue&gt;&amp;&amp;, bool important = false);
</ins><span class="cx"> 
</span><span class="cx">     // These do not. FIXME: This is too messy, we can do better.
</span><span class="cx">     bool setProperty(CSSPropertyID, CSSValueID identifier, bool important = false);
</span><span class="lines">@@ -305,5 +302,3 @@
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::ImmutableStyleProperties)
</span><span class="cx">     static bool isType(const WebCore::StyleProperties&amp; set) { return !set.isMutable(); }
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_END()
</span><del>-
-#endif // StyleProperties_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssStylePropertyShorthandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StylePropertyShorthand.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StylePropertyShorthand.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StylePropertyShorthand.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -21,9 +21,8 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;StylePropertyShorthand.h&quot;
</span><ins>+#include &quot;StylePropertyShorthandFunctions.h&quot;
</ins><span class="cx"> 
</span><del>-#include &lt;wtf/StdLibExtras.h&gt;
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> StylePropertyShorthand borderAbridgedShorthand()
</span></span></pre></div>
<a id="trunkSourceWebCorecssStylePropertyShorthandh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StylePropertyShorthand.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StylePropertyShorthand.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StylePropertyShorthand.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,24 +19,16 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef StylePropertyShorthand_h
-#define StylePropertyShorthand_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSPropertyNames.h&quot;
</span><del>-#include &quot;StylePropertyShorthandFunctions.h&quot;
</del><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class StylePropertyShorthand {
</span><span class="cx"> public:
</span><del>-    StylePropertyShorthand()
-        : m_properties(0)
-        , m_propertiesForInitialization(0)
-        , m_length(0)
-        , m_shorthandID(CSSPropertyInvalid)
-    {
-    }
</del><ins>+    StylePropertyShorthand() = default;
</ins><span class="cx"> 
</span><span class="cx">     template&lt;unsigned numProperties&gt;
</span><span class="cx">     StylePropertyShorthand(CSSPropertyID id, const CSSPropertyID (&amp;properties)[numProperties], const StylePropertyShorthand* propertiesForInitialization = nullptr)
</span><span class="lines">@@ -53,10 +45,10 @@
</span><span class="cx">     CSSPropertyID id() const { return m_shorthandID; }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    const CSSPropertyID* m_properties;
-    const StylePropertyShorthand* m_propertiesForInitialization;
-    unsigned m_length;
-    CSSPropertyID m_shorthandID;
</del><ins>+    const CSSPropertyID* m_properties { nullptr };
+    const StylePropertyShorthand* m_propertiesForInitialization { nullptr };
+    unsigned m_length { 0 };
+    CSSPropertyID m_shorthandID { CSSPropertyInvalid };
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // Custom StylePropertyShorthand functions.
</span><span class="lines">@@ -76,5 +68,3 @@
</span><span class="cx"> bool isShorthandCSSProperty(CSSPropertyID);
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // StylePropertyShorthand_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -303,10 +303,10 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // This is a simplified style setting function for keyframe styles
</span><del>-void StyleResolver::addKeyframeStyle(PassRefPtr&lt;StyleRuleKeyframes&gt; rule)
</del><ins>+void StyleResolver::addKeyframeStyle(RefPtr&lt;StyleRuleKeyframes&gt;&amp;&amp; rule)
</ins><span class="cx"> {
</span><span class="cx">     AtomicString s(rule-&gt;name());
</span><del>-    m_keyframesRuleMap.set(s.impl(), rule);
</del><ins>+    m_keyframesRuleMap.set(s.impl(), WTFMove(rule));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> StyleResolver::~StyleResolver()
</span><span class="lines">@@ -1663,7 +1663,7 @@
</span><span class="cx">     return parser.parseVariableDependentValue(propID, value, m_state.style()-&gt;customProperties());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;StyleImage&gt; StyleResolver::styleImage(CSSPropertyID property, CSSValue&amp; value)
</del><ins>+RefPtr&lt;StyleImage&gt; StyleResolver::styleImage(CSSPropertyID property, CSSValue&amp; value)
</ins><span class="cx"> {
</span><span class="cx">     if (is&lt;CSSImageValue&gt;(value))
</span><span class="cx">         return cachedOrPendingFromValue(property, downcast&lt;CSSImageValue&gt;(value));
</span><span class="lines">@@ -1693,7 +1693,7 @@
</span><span class="cx">     return image;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;StyleImage&gt; StyleResolver::generatedOrPendingFromValue(CSSPropertyID property, CSSImageGeneratorValue&amp; value)
</del><ins>+Ref&lt;StyleImage&gt; StyleResolver::generatedOrPendingFromValue(CSSPropertyID property, CSSImageGeneratorValue&amp; value)
</ins><span class="cx"> {
</span><span class="cx">     if (is&lt;CSSFilterImageValue&gt;(value)) {
</span><span class="cx">         // FilterImage needs to calculate FilterOperations.
</span><span class="lines">@@ -2083,7 +2083,7 @@
</span><span class="cx">     return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;StyleImage&gt; StyleResolver::loadPendingImage(const StylePendingImage&amp; pendingImage, const ResourceLoaderOptions&amp; options)
</del><ins>+RefPtr&lt;StyleImage&gt; StyleResolver::loadPendingImage(const StylePendingImage&amp; pendingImage, const ResourceLoaderOptions&amp; options)
</ins><span class="cx"> {
</span><span class="cx">     if (auto imageValue = pendingImage.cssImageValue())
</span><span class="cx">         return imageValue-&gt;cachedImage(m_state.document().cachedResourceLoader(), options);
</span><span class="lines">@@ -2104,7 +2104,7 @@
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;StyleImage&gt; StyleResolver::loadPendingImage(const StylePendingImage&amp; pendingImage)
</del><ins>+RefPtr&lt;StyleImage&gt; StyleResolver::loadPendingImage(const StylePendingImage&amp; pendingImage)
</ins><span class="cx"> {
</span><span class="cx">     ResourceLoaderOptions options = CachedResourceLoader::defaultCachedResourceOptions();
</span><span class="cx">     options.setContentSecurityPolicyImposition(m_state.element() &amp;&amp; m_state.element()-&gt;isInUserAgentShadowTree() ? ContentSecurityPolicyImposition::SkipPolicyCheck : ContentSecurityPolicyImposition::DoPolicyCheck);
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolverh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleResolver.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -19,25 +19,17 @@
</span><span class="cx">  *
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef StyleResolver_h
-#define StyleResolver_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSToLengthConversionData.h&quot;
</span><span class="cx"> #include &quot;CSSToStyleMap.h&quot;
</span><del>-#include &quot;CSSValueList.h&quot;
</del><span class="cx"> #include &quot;DocumentRuleSets.h&quot;
</span><span class="cx"> #include &quot;InspectorCSSOMWrappers.h&quot;
</span><del>-#include &quot;LinkHash.h&quot;
</del><span class="cx"> #include &quot;MediaQueryEvaluator.h&quot;
</span><span class="cx"> #include &quot;RenderStyle.h&quot;
</span><span class="cx"> #include &quot;RuleFeature.h&quot;
</span><span class="cx"> #include &quot;RuleSet.h&quot;
</span><del>-#include &quot;RuntimeEnabledFeatures.h&quot;
-#include &quot;ScrollTypes.h&quot;
</del><span class="cx"> #include &quot;SelectorChecker.h&quot;
</span><del>-#include &quot;StyleInheritedData.h&quot;
-#include &quot;StyleRelations.h&quot;
-#include &quot;ViewportStyleResolver.h&quot;
</del><span class="cx"> #include &lt;bitset&gt;
</span><span class="cx"> #include &lt;memory&gt;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="lines">@@ -213,7 +205,7 @@
</span><span class="cx">     bool hasViewportDependentMediaQueries() const { return !m_viewportDependentMediaQueryResults.isEmpty(); }
</span><span class="cx">     bool hasMediaQueriesAffectedByViewportChange() const;
</span><span class="cx"> 
</span><del>-    void addKeyframeStyle(PassRefPtr&lt;StyleRuleKeyframes&gt;);
</del><ins>+    void addKeyframeStyle(RefPtr&lt;StyleRuleKeyframes&gt;&amp;&amp;);
</ins><span class="cx"> 
</span><span class="cx">     bool checkRegionStyle(const Element* regionElement);
</span><span class="cx"> 
</span><span class="lines">@@ -463,9 +455,9 @@
</span><span class="cx"> 
</span><span class="cx">     State&amp; state() { return m_state; }
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;StyleImage&gt; styleImage(CSSPropertyID, CSSValue&amp;);
</del><ins>+    RefPtr&lt;StyleImage&gt; styleImage(CSSPropertyID, CSSValue&amp;);
</ins><span class="cx">     RefPtr&lt;StyleImage&gt; cachedOrPendingFromValue(CSSPropertyID, CSSImageValue&amp;);
</span><del>-    PassRefPtr&lt;StyleImage&gt; generatedOrPendingFromValue(CSSPropertyID, CSSImageGeneratorValue&amp;);
</del><ins>+    Ref&lt;StyleImage&gt; generatedOrPendingFromValue(CSSPropertyID, CSSImageGeneratorValue&amp;);
</ins><span class="cx"> #if ENABLE(CSS_IMAGE_SET)
</span><span class="cx">     RefPtr&lt;StyleImage&gt; setOrPendingFromValue(CSSPropertyID, CSSImageSetValue&amp;);
</span><span class="cx"> #endif
</span><span class="lines">@@ -497,8 +489,8 @@
</span><span class="cx"> 
</span><span class="cx">     void applySVGProperty(CSSPropertyID, CSSValue*);
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;StyleImage&gt; loadPendingImage(const StylePendingImage&amp;, const ResourceLoaderOptions&amp;);
-    PassRefPtr&lt;StyleImage&gt; loadPendingImage(const StylePendingImage&amp;);
</del><ins>+    RefPtr&lt;StyleImage&gt; loadPendingImage(const StylePendingImage&amp;, const ResourceLoaderOptions&amp;);
+    RefPtr&lt;StyleImage&gt; loadPendingImage(const StylePendingImage&amp;);
</ins><span class="cx">     void loadPendingImages();
</span><span class="cx"> #if ENABLE(CSS_SHAPES)
</span><span class="cx">     void loadPendingShapeImage(ShapeValue*);
</span><span class="lines">@@ -590,5 +582,3 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // StyleResolver_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssStyleSheetListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleSheetList.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleSheetList.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/StyleSheetList.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -18,12 +18,10 @@
</span><span class="cx">  * Boston, MA 02110-1301, USA.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef StyleSheetList_h
-#define StyleSheetList_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -56,5 +54,3 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // StyleSheetList_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSFilterValuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSFilterValue.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSFilterValue.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/WebKitCSSFilterValue.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> #include &quot;WebKitCSSFilterValue.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValueList.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSFilterValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSFilterValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSFilterValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/WebKitCSSFilterValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> #define WebKitCSSFilterValue_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValueList.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSTransformValuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSTransformValue.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSTransformValue.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/WebKitCSSTransformValue.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -27,14 +27,13 @@
</span><span class="cx"> #include &quot;WebKitCSSTransformValue.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValueList.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> // These names must be kept in sync with TransformOperationType.
</span><span class="cx"> const char* const transformNamePrefixes[] = {
</span><del>-    0,
</del><ins>+    nullptr,
</ins><span class="cx">     &quot;translate(&quot;,
</span><span class="cx">     &quot;translateX(&quot;,
</span><span class="cx">     &quot;translateY(&quot;,
</span></span></pre></div>
<a id="trunkSourceWebCorecssWebKitCSSTransformValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/WebKitCSSTransformValue.h (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/WebKitCSSTransformValue.h        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/css/WebKitCSSTransformValue.h        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -23,11 +23,9 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef WebKitCSSTransformValue_h
-#define WebKitCSSTransformValue_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;CSSValueList.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -82,5 +80,3 @@
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> SPECIALIZE_TYPE_TRAITS_CSS_VALUE(WebKitCSSTransformValue, isWebKitCSSTransformValue())
</span><del>-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorerenderingshapesShapecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/shapes/Shape.cpp (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/shapes/Shape.cpp        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebCore/rendering/shapes/Shape.cpp        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include &quot;Shape.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;BasicShapeFunctions.h&quot;
</span><ins>+#include &quot;BasicShapes.h&quot;
</ins><span class="cx"> #include &quot;BoxShape.h&quot;
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><span class="cx"> #include &quot;ImageBuffer.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebKit2/ChangeLog        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-05-18  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Clean up CSS code
+        https://bugs.webkit.org/show_bug.cgi?id=157808
+
+        Reviewed by Chris Dumez.
+
+        * UIProcess/Cocoa/WebViewImpl.mm:
+
</ins><span class="cx"> 2016-05-18  Jer Noble  &lt;jer.noble@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Disable default user gesture requirement for audio playback on Mac
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessCocoaWebViewImplmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm (201112 => 201113)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm        2016-05-18 23:08:16 UTC (rev 201112)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm        2016-05-18 23:09:09 UTC (rev 201113)
</span><span class="lines">@@ -90,6 +90,7 @@
</span><span class="cx"> #import &lt;WebCore/WebCoreNSStringExtras.h&gt;
</span><span class="cx"> #import &lt;WebKitSystemInterface.h&gt;
</span><span class="cx"> #import &lt;sys/stat.h&gt;
</span><ins>+#import &lt;wtf/NeverDestroyed.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> #if USE(APPLE_INTERNAL_SDK)
</span><span class="cx"> #import &lt;WebKitAdditions/WebViewImplIncludes.h&gt;
</span></span></pre>
</div>
</div>

</body>
</html>