<!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>[205011] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/205011">205011</a></dd>
<dt>Author</dt> <dd>pvollan@apple.com</dd>
<dt>Date</dt> <dd>2016-08-26 06:29:31 -0700 (Fri, 26 Aug 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>[Win] Warning fixes.
https://bugs.webkit.org/show_bug.cgi?id=161077
Reviewed by Brent Fulgham.
* css/CSSGrammar.y.includes:
* css/RuleFeature.cpp:
(WebCore::makeAttributeSelectorKey):
* editing/TextIterator.cpp:
(WebCore::SearchBuffer::SearchBuffer):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::textToFragment):
* html/MediaElementSession.h:
* platform/URL.cpp:
* platform/graphics/ca/GraphicsLayerCA.cpp:
* platform/network/HTTPParsers.cpp:
(WebCore::parseHTTPHeader):
* rendering/InlineIterator.h:
(WebCore::InlineIterator::clear):
* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::FlexBoxIterator::reset):
* rendering/RenderText.cpp:
(WebCore::RenderText::secureText):
* rendering/mathml/RenderMathMLToken.cpp:
(WebCore::mathVariant):
* style/InlineTextBoxStyle.cpp:
(WebCore::visualOverflowForDecorations):
* xml/XPathGrammar.y:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssCSSGrammaryincludes">trunk/Source/WebCore/css/CSSGrammar.y.includes</a></li>
<li><a href="#trunkSourceWebCorecssRuleFeaturecpp">trunk/Source/WebCore/css/RuleFeature.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingTextIteratorcpp">trunk/Source/WebCore/editing/TextIterator.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementcpp">trunk/Source/WebCore/html/HTMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaElementSessionh">trunk/Source/WebCore/html/MediaElementSession.h</a></li>
<li><a href="#trunkSourceWebCoreplatformURLcpp">trunk/Source/WebCore/platform/URL.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp">trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformnetworkHTTPParserscpp">trunk/Source/WebCore/platform/network/HTTPParsers.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingInlineIteratorh">trunk/Source/WebCore/rendering/InlineIterator.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderDeprecatedFlexibleBoxcpp">trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextcpp">trunk/Source/WebCore/rendering/RenderText.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingmathmlRenderMathMLTokencpp">trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.cpp</a></li>
<li><a href="#trunkSourceWebCorestyleInlineTextBoxStylecpp">trunk/Source/WebCore/style/InlineTextBoxStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorexmlXPathGrammary">trunk/Source/WebCore/xml/XPathGrammar.y</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/ChangeLog        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -1,3 +1,34 @@
</span><ins>+2016-08-26 Per Arne Vollan <pvollan@apple.com>
+
+ [Win] Warning fixes.
+ https://bugs.webkit.org/show_bug.cgi?id=161077
+
+ Reviewed by Brent Fulgham.
+
+ * css/CSSGrammar.y.includes:
+ * css/RuleFeature.cpp:
+ (WebCore::makeAttributeSelectorKey):
+ * editing/TextIterator.cpp:
+ (WebCore::SearchBuffer::SearchBuffer):
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::textToFragment):
+ * html/MediaElementSession.h:
+ * platform/URL.cpp:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ * platform/network/HTTPParsers.cpp:
+ (WebCore::parseHTTPHeader):
+ * rendering/InlineIterator.h:
+ (WebCore::InlineIterator::clear):
+ * rendering/RenderDeprecatedFlexibleBox.cpp:
+ (WebCore::FlexBoxIterator::reset):
+ * rendering/RenderText.cpp:
+ (WebCore::RenderText::secureText):
+ * rendering/mathml/RenderMathMLToken.cpp:
+ (WebCore::mathVariant):
+ * style/InlineTextBoxStyle.cpp:
+ (WebCore::visualOverflowForDecorations):
+ * xml/XPathGrammar.y:
+
</ins><span class="cx"> 2016-08-26 Nael Ouedraogo <nael.ouedraogo@crf.canon.fr>
</span><span class="cx">
</span><span class="cx"> Make custom constructors consistent with generated bindings code
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSGrammaryincludes"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSGrammar.y.includes (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSGrammar.y.includes        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/css/CSSGrammar.y.includes        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -45,6 +45,11 @@
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> using namespace HTMLNames;
</span><span class="cx">
</span><ins>+#if COMPILER(MSVC)
+// See https://msdn.microsoft.com/en-us/library/1wea5zwe.aspx
+#pragma warning(disable: 4701)
+#endif
+
</ins><span class="cx"> #define YYMALLOC fastMalloc
</span><span class="cx"> #define YYFREE fastFree
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorecssRuleFeaturecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/RuleFeature.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/RuleFeature.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/css/RuleFeature.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx"> static RuleFeatureSet::AttributeRules::SelectorKey makeAttributeSelectorKey(const CSSSelector& selector)
</span><span class="cx"> {
</span><span class="cx"> bool caseInsensitive = selector.attributeValueMatchingIsCaseInsensitive();
</span><del>- unsigned matchAndCase = static_cast<unsigned>(selector.match()) << 1 | caseInsensitive;
</del><ins>+ unsigned matchAndCase = static_cast<unsigned>(selector.match()) << 1 | (caseInsensitive ? 1 : 0);
</ins><span class="cx"> return std::make_pair(selector.attributeCanonicalLocalName().impl(), std::make_pair(selector.value().impl(), matchAndCase));
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingTextIteratorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/TextIterator.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/TextIterator.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/editing/TextIterator.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -2004,7 +2004,7 @@
</span><span class="cx">
</span><span class="cx"> if ((m_options & AtWordStarts) && targetLength) {
</span><span class="cx"> UChar32 targetFirstCharacter;
</span><del>- U16_GET(m_target, 0, 0, targetLength, targetFirstCharacter);
</del><ins>+ U16_GET(m_target, 0, 0u, targetLength, targetFirstCharacter);
</ins><span class="cx"> // Characters in the separator category never really occur at the beginning of a word,
</span><span class="cx"> // so if the target begins with such a character, we just ignore the AtWordStart option.
</span><span class="cx"> if (isSeparator(targetFirstCharacter)) {
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/html/HTMLElement.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -434,7 +434,7 @@
</span><span class="cx"> for (unsigned start = 0, length = text.length(); start < length; ) {
</span><span class="cx">
</span><span class="cx"> // Find next line break.
</span><del>- UChar c;
</del><ins>+ UChar c = 0;
</ins><span class="cx"> unsigned i;
</span><span class="cx"> for (i = start; i < length; i++) {
</span><span class="cx"> c = text[i];
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaElementSessionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaElementSession.h (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaElementSession.h        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/html/MediaElementSession.h        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> void mediaEngineUpdated(const HTMLMediaElement&);
</span><span class="cx">
</span><span class="cx"> // Restrictions to modify default behaviors.
</span><del>- enum BehaviorRestrictionFlags {
</del><ins>+ enum BehaviorRestrictionFlags : unsigned {
</ins><span class="cx"> NoRestrictions = 0,
</span><span class="cx"> RequireUserGestureForLoad = 1 << 0,
</span><span class="cx"> RequireUserGestureForVideoRateChange = 1 << 1,
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformURLcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/URL.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/URL.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/platform/URL.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -396,7 +396,7 @@
</span><span class="cx"> // Returns the index of the first index in string |s| of any of the characters
</span><span class="cx"> // in |toFind|. |toFind| should be a null-terminated string, all characters up
</span><span class="cx"> // to the null will be searched. Returns int if not found.
</span><del>-const unsigned notFoundUnsigned = -1;
</del><ins>+const unsigned notFoundUnsigned = std::numeric_limits<unsigned>::max();
</ins><span class="cx"> static unsigned findFirstOf(StringView string, unsigned startPosition, const char* target)
</span><span class="cx"> {
</span><span class="cx"> unsigned length = string.length();
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -68,6 +68,11 @@
</span><span class="cx"> #include "PlatformCALayerWin.h"
</span><span class="cx"> #endif
</span><span class="cx">
</span><ins>+#if COMPILER(MSVC)
+// See https://msdn.microsoft.com/en-us/library/1wea5zwe.aspx
+#pragma warning(disable: 4701)
+#endif
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><span class="cx"> // The threshold width or height above which a tiled layer will be used. This should be
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformnetworkHTTPParserscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/network/HTTPParsers.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/network/HTTPParsers.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/platform/network/HTTPParsers.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -670,7 +670,7 @@
</span><span class="cx"> Vector<char> value;
</span><span class="cx">
</span><span class="cx"> bool foundFirstNameChar = false;
</span><del>- const char* namePtr;
</del><ins>+ const char* namePtr = nullptr;
</ins><span class="cx"> size_t nameSize = 0;
</span><span class="cx">
</span><span class="cx"> nameStr = StringView();
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingInlineIteratorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/InlineIterator.h (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/InlineIterator.h        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/rendering/InlineIterator.h        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> {
</span><span class="cx"> setRenderer(nullptr);
</span><span class="cx"> setOffset(0);
</span><del>- setNextBreakablePosition(-1);
</del><ins>+ setNextBreakablePosition(std::numeric_limits<unsigned>::max());
</ins><span class="cx"> }
</span><span class="cx"> void moveToStartOf(RenderObject& object)
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderDeprecatedFlexibleBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> void reset()
</span><span class="cx"> {
</span><span class="cx"> m_currentChild = nullptr;
</span><del>- m_ordinalIteration = -1;
</del><ins>+ m_ordinalIteration = std::numeric_limits<unsigned>::max();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RenderBox* first()
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderText.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderText.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/rendering/RenderText.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -1201,7 +1201,7 @@
</span><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> UChar characterToReveal = 0;
</span><del>- unsigned revealedCharactersOffset;
</del><ins>+ unsigned revealedCharactersOffset = 0;
</ins><span class="cx">
</span><span class="cx"> if (SecureTextTimer* timer = secureTextTimers().get(this)) {
</span><span class="cx"> // We take the offset out of the timer to make this one-shot. We count on this being called only once.
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingmathmlRenderMathMLTokencpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -325,7 +325,7 @@
</span><span class="cx">
</span><span class="cx"> // The Unicode mathematical blocks are divided into four segments: Latin, Greek, numbers and Arabic.
</span><span class="cx"> // In the case of the first three baseChar represents the relative order in which the characters are encoded in the Unicode mathematical block, normalised to the first character of that sequence.
</span><del>- UChar32 baseChar;
</del><ins>+ UChar32 baseChar = 0;
</ins><span class="cx"> enum CharacterType {
</span><span class="cx"> Latin,
</span><span class="cx"> Greekish,
</span><span class="lines">@@ -446,7 +446,7 @@
</span><span class="cx"> return baseChar + mathBoldUpperAlpha + multiplier * (mathItalicUpperAlpha - mathBoldUpperAlpha);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- UChar32 tempChar;
</del><ins>+ UChar32 tempChar = 0;
</ins><span class="cx"> UChar32 newChar;
</span><span class="cx"> if (varType == Arabic) {
</span><span class="cx"> // The Arabic mathematical block is not continuous, nor does it have a monotonic mapping to the unencoded characters, requiring the use of a lookup table.
</span></span></pre></div>
<a id="trunkSourceWebCorestyleInlineTextBoxStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/InlineTextBoxStyle.cpp (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/InlineTextBoxStyle.cpp        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/style/InlineTextBoxStyle.cpp        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -113,9 +113,9 @@
</span><span class="cx"> return GlyphOverflow();
</span><span class="cx">
</span><span class="cx"> float strokeThickness = textDecorationStrokeThickness(lineStyle.fontSize());
</span><del>- float controlPointDistance;
</del><ins>+ float controlPointDistance = 0;
</ins><span class="cx"> float step;
</span><del>- float wavyOffset;
</del><ins>+ float wavyOffset = 0;
</ins><span class="cx">
</span><span class="cx"> TextDecorationStyle decorationStyle = lineStyle.textDecorationStyle();
</span><span class="cx"> float height = lineStyle.fontCascade().fontMetrics().floatHeight();
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXPathGrammary"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XPathGrammar.y (205010 => 205011)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XPathGrammar.y        2016-08-26 10:54:51 UTC (rev 205010)
+++ trunk/Source/WebCore/xml/XPathGrammar.y        2016-08-26 13:29:31 UTC (rev 205011)
</span><span class="lines">@@ -34,6 +34,11 @@
</span><span class="cx"> #include "XPathPath.h"
</span><span class="cx"> #include "XPathVariableReference.h"
</span><span class="cx">
</span><ins>+#if COMPILER(MSVC)
+// See https://msdn.microsoft.com/en-us/library/1wea5zwe.aspx
+#pragma warning(disable: 4701)
+#endif
+
</ins><span class="cx"> #define YYMALLOC fastMalloc
</span><span class="cx"> #define YYFREE fastFree
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>