<!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 <achristensen@webkit.org>
+
+ 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 <jer.noble@apple.com>
</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& conversionData, PassRefPtr<CSSPrimitiveValue> radius)
</del><ins>+static BasicShapeRadius cssValueToBasicShapeRadius(const CSSToLengthConversionData& 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<BasicShape> basicShapeForValue(const CSSToLengthConversionData& conversionData, const CSSBasicShape* basicShapeValue)
</del><ins>+Ref<BasicShape> basicShapeForValue(const CSSToLengthConversionData& conversionData, const CSSBasicShape& basicShapeValue)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<BasicShape> basicShape;
</span><span class="cx">
</span><del>- switch (basicShapeValue->type()) {
</del><ins>+ switch (basicShapeValue.type()) {
</ins><span class="cx"> case CSSBasicShape::CSSBasicShapeCircleType: {
</span><del>- auto& circleValue = downcast<CSSBasicShapeCircle>(*basicShapeValue);
</del><ins>+ auto& circleValue = downcast<CSSBasicShapeCircle>(basicShapeValue);
</ins><span class="cx"> auto circle = BasicShapeCircle::create();
</span><span class="cx">
</span><span class="cx"> circle->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& ellipseValue = downcast<CSSBasicShapeEllipse>(*basicShapeValue);
</del><ins>+ auto& ellipseValue = downcast<CSSBasicShapeEllipse>(basicShapeValue);
</ins><span class="cx"> auto ellipse = BasicShapeEllipse::create();
</span><span class="cx">
</span><span class="cx"> ellipse->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& polygonValue = downcast<CSSBasicShapePolygon>(*basicShapeValue);
</del><ins>+ auto& polygonValue = downcast<CSSBasicShapePolygon>(basicShapeValue);
</ins><span class="cx"> auto polygon = BasicShapePolygon::create();
</span><span class="cx">
</span><span class="cx"> polygon->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& rectValue = downcast<CSSBasicShapeInset>(*basicShapeValue);
</del><ins>+ auto& rectValue = downcast<CSSBasicShapeInset>(basicShapeValue);
</ins><span class="cx"> auto rect = BasicShapeInset::create();
</span><span class="cx">
</span><span class="cx"> rect->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& pathValue = downcast<CSSBasicShapePath>(*basicShapeValue);
</del><ins>+ auto& pathValue = downcast<CSSBasicShapePath>(basicShapeValue);
</ins><span class="cx"> auto path = BasicShapePath::create(pathValue.pathData().copy());
</span><span class="cx"> path->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 "BasicShapes.h"
-#include <wtf/PassRefPtr.h>
</del><ins>+#include <wtf/Ref.h>
</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<CSSValue> valueForBasicShape(const RenderStyle&, const BasicShape&);
</span><del>-Ref<BasicShape> basicShapeForValue(const CSSToLengthConversionData&, const CSSBasicShape*);
-
</del><ins>+Ref<BasicShape> basicShapeForValue(const CSSToLengthConversionData&, const CSSBasicShape&);
</ins><span class="cx"> float floatValueForCenterCoordinate(const BasicShapeCenterCoordinate&, 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 "CSSValue.h"
</span><del>-#include <wtf/PassRefPtr.h>
</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<CSSAnimationTriggerScrollValue> create(PassRefPtr<CSSValue> startValue, PassRefPtr<CSSValue> endValue = nullptr)
</del><ins>+ static Ref<CSSAnimationTriggerScrollValue> create(Ref<CSSValue>&& startValue, RefPtr<CSSValue>&& 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&) const;
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- CSSAnimationTriggerScrollValue(PassRefPtr<CSSValue> startValue, PassRefPtr<CSSValue> endValue)
</del><ins>+ CSSAnimationTriggerScrollValue(Ref<CSSValue>&& startValue, RefPtr<CSSValue>&& 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 "CSSPrimitiveValue.h"
</del><span class="cx"> #include "CSSValue.h"
</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 "CSSPrimitiveValue.h"
</del><span class="cx"> #include "WindRule.h"
</span><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/TypeCasts.h>
</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<CSSBasicShape> {
</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<CSSPrimitiveValue> top) { m_top = top; }
- void setRight(PassRefPtr<CSSPrimitiveValue> right) { m_right = right; }
- void setBottom(PassRefPtr<CSSPrimitiveValue> bottom) { m_bottom = bottom; }
- void setLeft(PassRefPtr<CSSPrimitiveValue> left) { m_left = left; }
</del><ins>+ void setTop(RefPtr<CSSPrimitiveValue>&& top) { m_top = WTFMove(top); }
+ void setRight(RefPtr<CSSPrimitiveValue>&& right) { m_right = WTFMove(right); }
+ void setBottom(RefPtr<CSSPrimitiveValue>&& bottom) { m_bottom = WTFMove(bottom); }
+ void setLeft(RefPtr<CSSPrimitiveValue>&& 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<CSSPrimitiveValue> radius) { m_topLeftRadius = radius; }
- void setTopRightRadius(PassRefPtr<CSSPrimitiveValue> radius) { m_topRightRadius = radius; }
- void setBottomRightRadius(PassRefPtr<CSSPrimitiveValue> radius) { m_bottomRightRadius = radius; }
- void setBottomLeftRadius(PassRefPtr<CSSPrimitiveValue> radius) { m_bottomLeftRadius = radius; }
</del><ins>+ void setTopLeftRadius(RefPtr<CSSPrimitiveValue>&& radius) { m_topLeftRadius = WTFMove(radius); }
+ void setTopRightRadius(RefPtr<CSSPrimitiveValue>&& radius) { m_topRightRadius = WTFMove(radius); }
+ void setBottomRightRadius(RefPtr<CSSPrimitiveValue>&& radius) { m_bottomRightRadius = WTFMove(radius); }
+ void setBottomLeftRadius(RefPtr<CSSPrimitiveValue>&& 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<CSSPrimitiveValue> centerX) { m_centerX = centerX; }
- void setCenterY(PassRefPtr<CSSPrimitiveValue> centerY) { m_centerY = centerY; }
- void setRadius(PassRefPtr<CSSPrimitiveValue> radius) { m_radius = radius; }
</del><ins>+ void setCenterX(RefPtr<CSSPrimitiveValue>&& centerX) { m_centerX = WTFMove(centerX); }
+ void setCenterY(RefPtr<CSSPrimitiveValue>&& centerY) { m_centerY = WTFMove(centerY); }
+ void setRadius(RefPtr<CSSPrimitiveValue>&& 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 "config.h"
</span><span class="cx"> #include "CSSBorderImage.h"
</span><span class="cx">
</span><ins>+#include "CSSValueList.h"
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-Ref<CSSValueList> createBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<CSSValue> imageSlice, PassRefPtr<CSSValue> borderSlice, PassRefPtr<CSSValue> outset, PassRefPtr<CSSValue> repeat)
</del><ins>+Ref<CSSValueList> createBorderImageValue(RefPtr<CSSValue>&& image, RefPtr<CSSValue>&& imageSlice, RefPtr<CSSValue>&& borderSlice, RefPtr<CSSValue>&& outset, RefPtr<CSSValue>&& 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 "CSSBorderImageSliceValue.h"
-#include "CSSValueList.h"
-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-Ref<CSSValueList> createBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<CSSValue> imageSlice, PassRefPtr<CSSValue> borderSlice, PassRefPtr<CSSValue> outset, PassRefPtr<CSSValue> repeat);
</del><ins>+class CSSValue;
+class CSSValueList;
</ins><span class="cx">
</span><del>-} // namespace WebCore
</del><ins>+Ref<CSSValueList> createBorderImageValue(RefPtr<CSSValue>&& image, RefPtr<CSSValue>&& imageSlice, RefPtr<CSSValue>&& borderSlice, RefPtr<CSSValue>&& outset, RefPtr<CSSValue>&& 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<CSSPrimitiveValue> slices, bool fill)
</del><ins>+CSSBorderImageSliceValue::CSSBorderImageSliceValue(RefPtr<CSSPrimitiveValue>&& 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 "CSSPrimitiveValue.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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<CSSBorderImageSliceValue> create(PassRefPtr<CSSPrimitiveValue> slices, bool fill)
</del><ins>+ static Ref<CSSBorderImageSliceValue> create(RefPtr<CSSPrimitiveValue>&& 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<CSSPrimitiveValue> slices, bool fill);
</del><ins>+ CSSBorderImageSliceValue(RefPtr<CSSPrimitiveValue>&& 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 "CSSPrimitiveValue.h"
</span><span class="cx"> #include "CalculationValue.h"
</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 "CSSImageGeneratorValue.h"
</span><span class="cx"> #include "HTMLCanvasElement.h"
</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 "CSSAspectRatioValue.h"
</span><span class="cx"> #include "CSSBasicShapes.h"
</span><span class="cx"> #include "CSSBorderImage.h"
</span><ins>+#include "CSSBorderImageSliceValue.h"
</ins><span class="cx"> #include "CSSCustomPropertyValue.h"
</span><span class="cx"> #include "CSSFontFeatureValue.h"
</span><span class="cx"> #include "CSSFontValue.h"
</span><span class="lines">@@ -64,6 +65,7 @@
</span><span class="cx"> #include "StyleInheritedData.h"
</span><span class="cx"> #include "StyleProperties.h"
</span><span class="cx"> #include "StylePropertyShorthand.h"
</span><ins>+#include "StylePropertyShorthandFunctions.h"
</ins><span class="cx"> #include "StyleResolver.h"
</span><span class="cx"> #include "WebKitCSSFilterValue.h"
</span><span class="cx"> #include "WebKitCSSTransformValue.h"
</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->setTop(top.release());
- quad->setRight(right.release());
- quad->setBottom(bottom.release());
- quad->setLeft(left.release());
</del><ins>+ quad->setTop(WTFMove(top));
+ quad->setRight(WTFMove(right));
+ quad->setBottom(WTFMove(bottom));
+ quad->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->setTop(top);
- quad->setRight(right);
- quad->setBottom(bottom);
- quad->setLeft(left);
</del><ins>+ quad->setTop(WTFMove(top));
+ quad->setRight(WTFMove(right));
+ quad->setBottom(WTFMove(bottom));
+ quad->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<CSSValue> 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<CSSPrimitiveValue> zoomAdjustedPixelValue(double value, const RenderStyle& 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<CSSValue> svgPropertyValue(CSSPropertyID, EUpdateLayout) const;
</span><del>- RefPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtr<SVGPaint>, const RenderStyle*) const;
</del><ins>+ RefPtr<SVGPaint> adjustSVGPaintForCurrentColor(RefPtr<SVGPaint>&&, const RenderStyle*) const;
</ins><span class="cx">
</span><span class="cx"> static Ref<CSSValue> valueForShadow(const ShadowData*, CSSPropertyID, const RenderStyle&, AdjustPixelValuesForComputedStyle = AdjustPixelValues);
</span><span class="cx"> RefPtr<CSSPrimitiveValue> currentColorOrValidColor(const RenderStyle*, const Color&) 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& type, PassRefPtr<CSSFontFaceRule> fontface, PassRefPtr<DOMError> error)
</del><ins>+CSSFontFaceLoadEvent::CSSFontFaceLoadEvent(const AtomicString& type, RefPtr<CSSFontFaceRule>&& fontface, RefPtr<DOMError>&& 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 "CSSFontFaceRule.h"
</span><span class="cx"> #include "CSSValue.h"
</span><del>-#include "DOMError.h"
</del><span class="cx"> #include "Event.h"
</span><span class="cx"> #include "EventNames.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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<CSSFontFaceRule> fontface;
</span><span class="cx"> RefPtr<DOMError> error;
</span><span class="lines">@@ -60,14 +59,14 @@
</span><span class="cx"> return adoptRef<CSSFontFaceLoadEvent>(*new CSSFontFaceLoadEvent(type, initializer));
</span><span class="cx"> }
</span><span class="cx">
</span><del>- static Ref<CSSFontFaceLoadEvent> createForFontFaceRule(const AtomicString& type, PassRefPtr<CSSFontFaceRule> rule)
</del><ins>+ static Ref<CSSFontFaceLoadEvent> createForFontFaceRule(const AtomicString& type, RefPtr<CSSFontFaceRule>&& rule)
</ins><span class="cx"> {
</span><del>- return adoptRef<CSSFontFaceLoadEvent>(*new CSSFontFaceLoadEvent(type, rule, 0));
</del><ins>+ return adoptRef<CSSFontFaceLoadEvent>(*new CSSFontFaceLoadEvent(type, WTFMove(rule), nullptr));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static Ref<CSSFontFaceLoadEvent> createForError(PassRefPtr<CSSFontFaceRule> rule, PassRefPtr<DOMError> error)
</del><ins>+ static Ref<CSSFontFaceLoadEvent> createForError(RefPtr<CSSFontFaceRule>&& rule, RefPtr<DOMError>&& error)
</ins><span class="cx"> {
</span><del>- return adoptRef<CSSFontFaceLoadEvent>(*new CSSFontFaceLoadEvent(eventNames().errorEvent, rule, error));
</del><ins>+ return adoptRef<CSSFontFaceLoadEvent>(*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&, PassRefPtr<CSSFontFaceRule>, PassRefPtr<DOMError>);
</del><ins>+ CSSFontFaceLoadEvent(const AtomicString&, RefPtr<CSSFontFaceRule>&&, RefPtr<DOMError>&&);
</ins><span class="cx"> CSSFontFaceLoadEvent(const AtomicString&, const CSSFontFaceLoadEventInit&);
</span><span class="cx">
</span><span class="cx"> RefPtr<CSSFontFaceRule> 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 "CSSValue.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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 "CSSValue.h"
</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 "CSSImageGeneratorValue.h"
</span><span class="cx"> #include "CSSPrimitiveValue.h"
</span><span class="lines">@@ -64,10 +63,10 @@
</span><span class="cx"> public:
</span><span class="cx"> RefPtr<Image> image(RenderElement*, const FloatSize&);
</span><span class="cx">
</span><del>- void setFirstX(PassRefPtr<CSSPrimitiveValue> val) { m_firstX = val; }
- void setFirstY(PassRefPtr<CSSPrimitiveValue> val) { m_firstY = val; }
- void setSecondX(PassRefPtr<CSSPrimitiveValue> val) { m_secondX = val; }
- void setSecondY(PassRefPtr<CSSPrimitiveValue> val) { m_secondY = val; }
</del><ins>+ void setFirstX(RefPtr<CSSPrimitiveValue>&& val) { m_firstX = WTFMove(val); }
+ void setFirstY(RefPtr<CSSPrimitiveValue>&& val) { m_firstY = WTFMove(val); }
+ void setSecondX(RefPtr<CSSPrimitiveValue>&& val) { m_secondX = WTFMove(val); }
+ void setSecondY(RefPtr<CSSPrimitiveValue>&& val) { m_secondY = WTFMove(val); }
</ins><span class="cx">
</span><span class="cx"> void addStop(const CSSGradientColorStop& 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<CSSPrimitiveValue> val) { m_angle = val; }
</del><ins>+ void setAngle(RefPtr<CSSPrimitiveValue>&& 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<CSSPrimitiveValue> val) { m_firstRadius = val; }
- void setSecondRadius(PassRefPtr<CSSPrimitiveValue> val) { m_secondRadius = val; }
</del><ins>+ void setFirstRadius(RefPtr<CSSPrimitiveValue>&& val) { m_firstRadius = WTFMove(val); }
+ void setSecondRadius(RefPtr<CSSPrimitiveValue>&& val) { m_secondRadius = WTFMove(val); }
</ins><span class="cx">
</span><del>- void setShape(PassRefPtr<CSSPrimitiveValue> val) { m_shape = val; }
- void setSizingBehavior(PassRefPtr<CSSPrimitiveValue> val) { m_sizingBehavior = val; }
</del><ins>+ void setShape(RefPtr<CSSPrimitiveValue>&& val) { m_shape = WTFMove(val); }
+ void setSizingBehavior(RefPtr<CSSPrimitiveValue>&& val) { m_sizingBehavior = WTFMove(val); }
</ins><span class="cx">
</span><del>- void setEndHorizontalSize(PassRefPtr<CSSPrimitiveValue> val) { m_endHorizontalSize = val; }
- void setEndVerticalSize(PassRefPtr<CSSPrimitiveValue> val) { m_endVerticalSize = val; }
</del><ins>+ void setEndHorizontalSize(RefPtr<CSSPrimitiveValue>&& val) { m_endHorizontalSize = WTFMove(val); }
+ void setEndVerticalSize(RefPtr<CSSPrimitiveValue>&& 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<Gradient> createGradient(RenderElement&, const FloatSize&);
</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 >= length())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> ASSERT(m_childRuleCSSOMWrappers.size() == m_groupRule->childRules().size());
</span><span class="cx"> RefPtr<CSSRule>& rule = m_childRuleCSSOMWrappers[index];
</span><span class="cx"> if (!rule)
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx"> CSSRuleList& CSSGroupingRule::cssRules() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_ruleListCSSOMWrapper)
</span><del>- m_ruleListCSSOMWrapper = std::make_unique<LiveCSSRuleList<CSSGroupingRule>>(const_cast<CSSGroupingRule*>(this));
</del><ins>+ m_ruleListCSSOMWrapper = std::make_unique<LiveCSSRuleList<CSSGroupingRule>>(const_cast<CSSGroupingRule&>(*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& CSSKeyframesRule::cssRules()
</span><span class="cx"> {
</span><span class="cx"> if (!m_ruleListCSSOMWrapper)
</span><del>- m_ruleListCSSOMWrapper = std::make_unique<LiveCSSRuleList<CSSKeyframesRule>>(this);
</del><ins>+ m_ruleListCSSOMWrapper = std::make_unique<LiveCSSRuleList<CSSKeyframesRule>>(*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 "CSSAspectRatioValue.h"
</span><span class="cx"> #include "CSSBasicShapes.h"
</span><span class="cx"> #include "CSSBorderImage.h"
</span><ins>+#include "CSSBorderImageSliceValue.h"
</ins><span class="cx"> #include "CSSCanvasValue.h"
</span><span class="cx"> #include "CSSContentDistributionValue.h"
</span><span class="cx"> #include "CSSCrossfadeValue.h"
</span><span class="lines">@@ -90,6 +91,7 @@
</span><span class="cx"> #include "Settings.h"
</span><span class="cx"> #include "StyleProperties.h"
</span><span class="cx"> #include "StylePropertyShorthand.h"
</span><ins>+#include "StylePropertyShorthandFunctions.h"
</ins><span class="cx"> #include "StyleRule.h"
</span><span class="cx"> #include "StyleRuleImport.h"
</span><span class="cx"> #include "StyleSheetContents.h"
</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<StylePropertyShorthand> 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<CSSValue>&& prpValue, bool important)
</del><ins>+void CSSParser::addExpandedPropertyForValue(CSSPropertyID propId, RefPtr<CSSValue>&& value, bool important)
</ins><span class="cx"> {
</span><span class="cx"> const StylePropertyShorthand& 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<CSSValue> 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 < 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<CSSValue> CSSParser::parseVariableDependentValue(CSSPropertyID propID, const CSSVariableDependentValue& dependentValue, const CustomPropertyValueMap& 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<CSSValue> startValue = createPrimitiveNumericValue(firstArgumentWithCalculation);
</del><ins>+ Ref<CSSValue> startValue = createPrimitiveNumericValue(firstArgumentWithCalculation);
</ins><span class="cx">
</span><span class="cx"> argument = args->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<CSSValue> endValue = createPrimitiveNumericValue(secondArgumentWithCalculation);
</del><ins>+ Ref<CSSValue> 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<CSSPrimitiveValue> amount = CSSValuePool::singleton().createIdentifierValue(CSSValueInvalid);
</span><span class="cx">
</span><del>- region->setTop(amount);
- region->setRight(amount);
- region->setBottom(amount);
- region->setLeft(amount);
</del><ins>+ region->setTop(amount.copyRef());
+ region->setRight(amount.copyRef());
+ region->setBottom(amount.copyRef());
+ region->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 < 4; ++i) {
</span><span class="lines">@@ -6252,13 +6253,13 @@
</span><span class="cx"> RefPtr<CSSPrimitiveValue> amount = arg->id == CSSValueAuto ? CSSValuePool::singleton().createIdentifierValue(CSSValueAuto) : createPrimitiveNumericValue(argWithCalculation);
</span><span class="cx">
</span><span class="cx"> if (i == 0)
</span><del>- region->setTop(amount);
</del><ins>+ region->setTop(WTFMove(amount));
</ins><span class="cx"> else if (i == 1)
</span><del>- region->setRight(amount);
</del><ins>+ region->setRight(WTFMove(amount));
</ins><span class="cx"> else if (i == 2)
</span><del>- region->setBottom(amount);
</del><ins>+ region->setBottom(WTFMove(amount));
</ins><span class="cx"> else
</span><del>- region->setLeft(amount);
</del><ins>+ region->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<CSSPrimitiveValue> length = argument->id == CSSValueAuto ? CSSValuePool::singleton().createIdentifierValue(CSSValueAuto) : createPrimitiveNumericValue(argumentWithCalculation);
</span><span class="cx"> if (i == 0)
</span><del>- rect->setTop(length);
</del><ins>+ rect->setTop(WTFMove(length));
</ins><span class="cx"> else if (i == 1)
</span><del>- rect->setRight(length);
</del><ins>+ rect->setRight(WTFMove(length));
</ins><span class="cx"> else if (i == 2)
</span><del>- rect->setBottom(length);
</del><ins>+ rect->setBottom(WTFMove(length));
</ins><span class="cx"> else
</span><del>- rect->setLeft(length);
</del><ins>+ rect->setLeft(WTFMove(length));
</ins><span class="cx"> argument = args->next();
</span><span class="cx"> if (argument && args->size() == 7) {
</span><span class="cx"> if (argument->unit == CSSParserValue::Operator && argument->iValue == ',') {
</span><span class="lines">@@ -6651,7 +6652,7 @@
</span><span class="cx">
</span><span class="cx"> if (!args.currentIndex() && argument->id != CSSValueAt) {
</span><span class="cx"> if (RefPtr<CSSPrimitiveValue> radius = parseShapeRadius(*argument)) {
</span><del>- shape->setRadius(radius);
</del><ins>+ shape->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<CSSPrimitiveValue> centerY;
</span><span class="cx"> parseFillPosition(args, centerX, centerY);
</span><span class="cx"> if (centerX && centerY && !args.current()) {
</span><del>- shape->setCenterX(centerX);
- shape->setCenterY(centerY);
</del><ins>+ shape->setCenterX(WTFMove(centerX));
+ shape->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<CSSValue> 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& 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->setTop(m_top);
- quad->setRight(m_right);
- quad->setBottom(m_bottom);
- quad->setLeft(m_left);
</del><ins>+ quad->setTop(m_top.copyRef());
+ quad->setRight(m_right.copyRef());
+ quad->setBottom(m_bottom.copyRef());
+ quad->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->setTop(m_top);
- quad->setRight(m_right);
- quad->setBottom(m_bottom);
- quad->setLeft(m_left);
</del><ins>+ quad->setTop(m_top.copyRef());
+ quad->setRight(m_right.copyRef());
+ quad->setBottom(m_bottom.copyRef());
+ quad->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->setFirstX(centerX);
- result->setSecondX(centerX);
</del><ins>+ result->setFirstX(centerX.copyRef());
+ result->setSecondX(WTFMove(centerX));
</ins><span class="cx"> // CSS3 radial gradients always share the same start and end point.
</span><del>- result->setFirstY(centerY);
- result->setSecondY(centerY);
</del><ins>+ result->setFirstY(centerY.copyRef());
+ result->setSecondY(WTFMove(centerY));
</ins><span class="cx">
</span><span class="cx"> RefPtr<CSSPrimitiveValue> shapeValue;
</span><span class="cx"> RefPtr<CSSPrimitiveValue> sizeValue;
</span><span class="lines">@@ -9152,8 +9153,8 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>- result->setShape(shapeValue);
- result->setSizingBehavior(sizeValue);
</del><ins>+ result->setShape(shapeValue.copyRef());
+ result->setSizingBehavior(sizeValue.copyRef());
</ins><span class="cx">
</span><span class="cx"> // Or, two lengths or percentages
</span><span class="cx"> RefPtr<CSSPrimitiveValue> 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->setEndHorizontalSize(horizontalSize);
- result->setEndVerticalSize(verticalSize);
</del><ins>+ result->setEndHorizontalSize(WTFMove(horizontalSize));
+ result->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 && horizontalSize && horizontalSize->isPercentage())
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- result->setShape(shapeValue);
- result->setSizingBehavior(sizeValue);
- result->setEndHorizontalSize(horizontalSize);
- result->setEndVerticalSize(verticalSize);
</del><ins>+ result->setShape(shapeValue.copyRef());
+ result->setSizingBehavior(sizeValue.copyRef());
+ result->setEndHorizontalSize(horizontalSize.copyRef());
+ result->setEndVerticalSize(verticalSize.copyRef());
</ins><span class="cx">
</span><span class="cx"> // Second part of grammar, the center-position clause:
</span><span class="cx"> // at <position>
</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->setFirstX(centerX);
- result->setFirstY(centerY);
</del><ins>+ result->setFirstX(centerX.copyRef());
+ result->setFirstY(centerY.copyRef());
</ins><span class="cx"> // Right now, CSS radial gradients have the same start and end centers.
</span><del>- result->setSecondX(centerX);
- result->setSecondY(centerY);
</del><ins>+ result->setSecondX(centerX.copyRef());
+ result->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 "CSSCalculationValue.h"
</span><span class="cx"> #include "CSSGradientValue.h"
</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 "CSSPropertyNames.h"
</span><span class="cx"> #include "CSSValue.h"
</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 "CSSValueList.h"
</span><span class="cx"> #include "RenderStyleConstants.h"
</span><span class="cx"> #include "StylePropertyShorthand.h"
</span><ins>+#include "StylePropertyShorthandFunctions.h"
</ins><span class="cx">
</span><span class="cx"> #include <wtf/NeverDestroyed.h>
</span><span class="cx"> #include <wtf/text/StringBuilder.h>
</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 "CSSPropertyNames.h"
</span><span class="cx"> #include "CSSValue.h"
</span><del>-#include "RenderStyleConstants.h"
</del><span class="cx"> #include "WritingMode.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false)
</del><ins>+ CSSProperty(CSSPropertyID propertyID, RefPtr<CSSValue>&& 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 <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/TypeCasts.h>
</span><span class="lines">@@ -123,4 +122,3 @@
</span><span class="cx"> static bool isType(const WebCore::CSSRule& 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 <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Vector.h>
</span><del>-#include <wtf/text/WTFString.h>
</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 <class Rule>
</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& rule)
+ : m_rule(rule)
+ {
+ }
</ins><span class="cx">
</span><del>- void ref() override { m_rule->ref(); }
- void deref() override { m_rule->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->length(); }
- CSSRule* item(unsigned index) const override { return m_rule->item(index); }
- CSSStyleSheet* styleSheet() const override { return m_rule->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& 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 "CSSFontFace.h"
</span><span class="cx"> #include "FontCache.h"
</span><del>-#include "FontRanges.h"
</del><span class="cx"> #include <wtf/HashMap.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/Vector.h>
</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<CSSSegmentedFontFace>, 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 "CSSPrimitiveValue.h"
</span><span class="cx"> #include <wtf/text/WTFString.h>
</span><span class="lines">@@ -28,9 +27,9 @@
</span><span class="cx">
</span><span class="cx"> class Counter : public RefCounted<Counter> {
</span><span class="cx"> public:
</span><del>- static Ref<Counter> create(PassRefPtr<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator)
</del><ins>+ static Ref<Counter> create(RefPtr<CSSPrimitiveValue>&& identifier, RefPtr<CSSPrimitiveValue>&& listStyle, RefPtr<CSSPrimitiveValue>&& 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->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->getValueID() : CSSValueInvalid; }
</span><span class="cx">
</span><del>- void setIdentifier(PassRefPtr<CSSPrimitiveValue> identifier) { m_identifier = identifier; }
- void setListStyle(PassRefPtr<CSSPrimitiveValue> listStyle) { m_listStyle = listStyle; }
- void setSeparator(PassRefPtr<CSSPrimitiveValue> separator) { m_separator = separator; }
</del><ins>+ void setIdentifier(RefPtr<CSSPrimitiveValue>&& identifier) { m_identifier = WTFMove(identifier); }
+ void setListStyle(RefPtr<CSSPrimitiveValue>&& listStyle) { m_listStyle = WTFMove(listStyle); }
+ void setSeparator(RefPtr<CSSPrimitiveValue>&& separator) { m_separator = WTFMove(separator); }
</ins><span class="cx">
</span><span class="cx"> bool equals(const Counter& 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<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator)
- : m_identifier(identifier)
- , m_listStyle(listStyle)
- , m_separator(separator)
</del><ins>+ Counter(RefPtr<CSSPrimitiveValue>&& identifier, RefPtr<CSSPrimitiveValue>&& listStyle, RefPtr<CSSPrimitiveValue>&& 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 <wtf/RefCounted.h>
</span><del>-#include "CSSPrimitiveValue.h"
-#include <wtf/PassRefPtr.h>
-#include <wtf/text/StringBuilder.h>
</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 "CSSPrimitiveValue.h"
</span><span class="cx"> #include <wtf/RefPtr.h>
</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<CSSPrimitiveValue> top) { m_top = top; }
- void setRight(PassRefPtr<CSSPrimitiveValue> right) { m_right = right; }
- void setBottom(PassRefPtr<CSSPrimitiveValue> bottom) { m_bottom = bottom; }
- void setLeft(PassRefPtr<CSSPrimitiveValue> left) { m_left = left; }
</del><ins>+ void setTop(RefPtr<CSSPrimitiveValue>&& top) { m_top = WTFMove(top); }
+ void setRight(RefPtr<CSSPrimitiveValue>&& right) { m_right = WTFMove(right); }
+ void setBottom(RefPtr<CSSPrimitiveValue>&& bottom) { m_bottom = WTFMove(bottom); }
+ void setLeft(RefPtr<CSSPrimitiveValue>&& left) { m_left = WTFMove(left); }
</ins><span class="cx">
</span><span class="cx"> bool equals(const RectBase& 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 "StyleRule.h"
</span><span class="cx"> #include "StyleRuleImport.h"
</span><span class="cx"> #include "StyleSheetContents.h"
</span><ins>+#include "ViewportStyleResolver.h"
</ins><span class="cx">
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="cx"> #include "TextTrackCue.h"
</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<SVGPaint> ComputedStyleExtractor::adjustSVGPaintForCurrentColor(PassRefPtr<SVGPaint> newPaint, const RenderStyle* style) const
</del><ins>+RefPtr<SVGPaint> ComputedStyleExtractor::adjustSVGPaintForCurrentColor(RefPtr<SVGPaint>&& paint, const RenderStyle* style) const
</ins><span class="cx"> {
</span><del>- RefPtr<SVGPaint> paint = newPaint;
</del><span class="cx"> if (paint->paintType() == SVGPaint::SVG_PAINTTYPE_CURRENTCOLOR || paint->paintType() == SVGPaint::SVG_PAINTTYPE_URI_CURRENTCOLOR)
</span><span class="cx"> paint->setColor(style->color());
</span><del>- return paint;
</del><ins>+ return WTFMove(paint);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RefPtr<CSSValue> 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& primitiveValue = downcast<CSSPrimitiveValue>(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& currentValue : downcast<CSSValueList>(value)) {
</span><span class="cx"> CSSPrimitiveValue& primitiveValue = downcast<CSSPrimitiveValue>(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 "Document.h"
</span><span class="cx"> #include "PropertySetCSSStyleDeclaration.h"
</span><span class="cx"> #include "StylePropertyShorthand.h"
</span><ins>+#include "StylePropertyShorthandFunctions.h"
</ins><span class="cx"> #include "StyleSheetContents.h"
</span><span class="cx"> #include <bitset>
</span><span class="cx"> #include <wtf/text/StringBuilder.h>
</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<CSSValue> StyleProperties::getPropertyCSSValue(CSSPropertyID propertyID) const
</del><ins>+RefPtr<CSSValue> StyleProperties::getPropertyCSSValue(CSSPropertyID propertyID) const
</ins><span class="cx"> {
</span><del>- PassRefPtr<CSSValue> value = getPropertyCSSValueInternal(propertyID);
</del><ins>+ RefPtr<CSSValue> value = getPropertyCSSValueInternal(propertyID);
</ins><span class="cx"> if (value && value->isVariableDependentValue()) {
</span><span class="cx"> auto& dependentValue = downcast<CSSVariableDependentValue>(*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<CSSValue> StyleProperties::getPropertyCSSValueInternal(CSSPropertyID propertyID) const
</del><ins>+RefPtr<CSSValue> 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<CSSValue> prpValue, bool important)
</del><ins>+void MutableStyleProperties::setProperty(CSSPropertyID propertyID, RefPtr<CSSValue>&& 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<CSSValue> value = prpValue;
</del><span class="cx"> for (unsigned i = 0; i < 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& 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 "CSSParserMode.h"
</span><del>-#include "CSSPrimitiveValue.h"
</del><span class="cx"> #include "CSSProperty.h"
</span><del>-#include "CSSPropertyNames.h"
</del><span class="cx"> #include "CSSValueKeywords.h"
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/ListHashSet.h>
</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<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
</del><ins>+ WEBCORE_EXPORT RefPtr<CSSValue> 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& result, String& value) const;
</span><span class="cx">
</span><del>- PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) const;
</del><ins>+ RefPtr<CSSValue> 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& value, bool important = false, StyleSheetContents* contextStyleSheet = 0);
</span><del>- void setProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important = false);
</del><ins>+ void setProperty(CSSPropertyID, RefPtr<CSSValue>&&, 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& 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 "config.h"
</span><span class="cx"> #include "StylePropertyShorthand.h"
</span><ins>+#include "StylePropertyShorthandFunctions.h"
</ins><span class="cx">
</span><del>-#include <wtf/StdLibExtras.h>
-
</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 "CSSPropertyNames.h"
</span><del>-#include "StylePropertyShorthandFunctions.h"
</del><span class="cx"> #include <wtf/Vector.h>
</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<unsigned numProperties>
</span><span class="cx"> StylePropertyShorthand(CSSPropertyID id, const CSSPropertyID (&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<StyleRuleKeyframes> rule)
</del><ins>+void StyleResolver::addKeyframeStyle(RefPtr<StyleRuleKeyframes>&& rule)
</ins><span class="cx"> {
</span><span class="cx"> AtomicString s(rule->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()->customProperties());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StyleImage> StyleResolver::styleImage(CSSPropertyID property, CSSValue& value)
</del><ins>+RefPtr<StyleImage> StyleResolver::styleImage(CSSPropertyID property, CSSValue& value)
</ins><span class="cx"> {
</span><span class="cx"> if (is<CSSImageValue>(value))
</span><span class="cx"> return cachedOrPendingFromValue(property, downcast<CSSImageValue>(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<StyleImage> StyleResolver::generatedOrPendingFromValue(CSSPropertyID property, CSSImageGeneratorValue& value)
</del><ins>+Ref<StyleImage> StyleResolver::generatedOrPendingFromValue(CSSPropertyID property, CSSImageGeneratorValue& value)
</ins><span class="cx"> {
</span><span class="cx"> if (is<CSSFilterImageValue>(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<StyleImage> StyleResolver::loadPendingImage(const StylePendingImage& pendingImage, const ResourceLoaderOptions& options)
</del><ins>+RefPtr<StyleImage> StyleResolver::loadPendingImage(const StylePendingImage& pendingImage, const ResourceLoaderOptions& options)
</ins><span class="cx"> {
</span><span class="cx"> if (auto imageValue = pendingImage.cssImageValue())
</span><span class="cx"> return imageValue->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<StyleImage> StyleResolver::loadPendingImage(const StylePendingImage& pendingImage)
</del><ins>+RefPtr<StyleImage> StyleResolver::loadPendingImage(const StylePendingImage& pendingImage)
</ins><span class="cx"> {
</span><span class="cx"> ResourceLoaderOptions options = CachedResourceLoader::defaultCachedResourceOptions();
</span><span class="cx"> options.setContentSecurityPolicyImposition(m_state.element() && m_state.element()->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 "CSSToLengthConversionData.h"
</span><span class="cx"> #include "CSSToStyleMap.h"
</span><del>-#include "CSSValueList.h"
</del><span class="cx"> #include "DocumentRuleSets.h"
</span><span class="cx"> #include "InspectorCSSOMWrappers.h"
</span><del>-#include "LinkHash.h"
</del><span class="cx"> #include "MediaQueryEvaluator.h"
</span><span class="cx"> #include "RenderStyle.h"
</span><span class="cx"> #include "RuleFeature.h"
</span><span class="cx"> #include "RuleSet.h"
</span><del>-#include "RuntimeEnabledFeatures.h"
-#include "ScrollTypes.h"
</del><span class="cx"> #include "SelectorChecker.h"
</span><del>-#include "StyleInheritedData.h"
-#include "StyleRelations.h"
-#include "ViewportStyleResolver.h"
</del><span class="cx"> #include <bitset>
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/HashMap.h>
</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<StyleRuleKeyframes>);
</del><ins>+ void addKeyframeStyle(RefPtr<StyleRuleKeyframes>&&);
</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& state() { return m_state; }
</span><span class="cx">
</span><del>- PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue&);
</del><ins>+ RefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue&);
</ins><span class="cx"> RefPtr<StyleImage> cachedOrPendingFromValue(CSSPropertyID, CSSImageValue&);
</span><del>- PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGeneratorValue&);
</del><ins>+ Ref<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGeneratorValue&);
</ins><span class="cx"> #if ENABLE(CSS_IMAGE_SET)
</span><span class="cx"> RefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue&);
</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<StyleImage> loadPendingImage(const StylePendingImage&, const ResourceLoaderOptions&);
- PassRefPtr<StyleImage> loadPendingImage(const StylePendingImage&);
</del><ins>+ RefPtr<StyleImage> loadPendingImage(const StylePendingImage&, const ResourceLoaderOptions&);
+ RefPtr<StyleImage> loadPendingImage(const StylePendingImage&);
</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 <wtf/Forward.h>
</span><span class="cx"> #include <wtf/RefCounted.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/Vector.h>
</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 "WebKitCSSFilterValue.h"
</span><span class="cx">
</span><span class="cx"> #include "CSSValueList.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/text/WTFString.h>
</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 "CSSValueList.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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 "WebKitCSSTransformValue.h"
</span><span class="cx">
</span><span class="cx"> #include "CSSValueList.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/text/WTFString.h>
</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"> "translate(",
</span><span class="cx"> "translateX(",
</span><span class="cx"> "translateY(",
</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 "CSSValueList.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</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 "Shape.h"
</span><span class="cx">
</span><span class="cx"> #include "BasicShapeFunctions.h"
</span><ins>+#include "BasicShapes.h"
</ins><span class="cx"> #include "BoxShape.h"
</span><span class="cx"> #include "GraphicsContext.h"
</span><span class="cx"> #include "ImageBuffer.h"
</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 <achristensen@webkit.org>
+
+ 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 <jer.noble@apple.com>
</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 <WebCore/WebCoreNSStringExtras.h>
</span><span class="cx"> #import <WebKitSystemInterface.h>
</span><span class="cx"> #import <sys/stat.h>
</span><ins>+#import <wtf/NeverDestroyed.h>
</ins><span class="cx">
</span><span class="cx"> #if USE(APPLE_INTERNAL_SDK)
</span><span class="cx"> #import <WebKitAdditions/WebViewImplIncludes.h>
</span></span></pre>
</div>
</div>
</body>
</html>