<!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>[205645] releases/WebKitGTK/webkit-2.14/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/205645">205645</a></dd>
<dt>Author</dt> <dd>carlosgc@webkit.org</dd>
<dt>Date</dt> <dd>2016-09-08 08:51:44 -0700 (Thu, 08 Sep 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/205405">r205405</a> - Use ASCIILiteral in some more places
https://bugs.webkit.org/show_bug.cgi?id=161557
Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-09-03
Reviewed by Darin Adler.
Source/JavaScriptCore:
* runtime/TypeSet.h:
(JSC::StructureShape::setConstructorName):
Source/WebCore:
* Modules/indexeddb/IDBDatabaseException.cpp:
(WebCore::IDBDatabaseException::getErrorName):
(WebCore::IDBDatabaseException::getErrorDescription):
* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::binaryType):
* css/FontFace.cpp:
(WebCore::FontFace::stretch):
(WebCore::FontFace::unicodeRange):
(WebCore::FontFace::featureSettings):
* html/canvas/WebGLRenderingContextBase.cpp:
* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::initiatorFor):
* loader/FormSubmission.cpp:
(WebCore::FormSubmission::Attributes::parseEncodingType):
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::toRawString):
* platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::CGImageToDataURL):
(WebCore::ImageBuffer::toDataURL):
(WebCore::ImageDataToDataURL):
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::filenameExtension):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#releasesWebKitGTKwebkit214SourceJavaScriptCoreChangeLog">releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceJavaScriptCoreruntimeTypeSeth">releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/runtime/TypeSet.h</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoreChangeLog">releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoreModulesindexeddbIDBDatabaseExceptioncpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/indexeddb/IDBDatabaseException.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoreModuleswebsocketsWebSocketcpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/websockets/WebSocket.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCorecssFontFacecpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/css/FontFace.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCorehtmlcanvasWebGLRenderingContextBasecpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCorehtmlparserHTMLPreloadScannercpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/html/parser/HTMLPreloadScanner.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoreloaderFormSubmissioncpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/loader/FormSubmission.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCorepageSecurityOrigincpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/page/SecurityOrigin.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoreplatformgraphicscgImageBufferCGcpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit214SourceWebCoresvggraphicsSVGImagecpp">releases/WebKitGTK/webkit-2.14/Source/WebCore/svg/graphics/SVGImage.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="releasesWebKitGTKwebkit214SourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/ChangeLog (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/ChangeLog        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/ChangeLog        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2016-09-03 Joseph Pecoraro <pecoraro@apple.com>
+
+ Use ASCIILiteral in some more places
+ https://bugs.webkit.org/show_bug.cgi?id=161557
+
+ Reviewed by Darin Adler.
+
+ * runtime/TypeSet.h:
+ (JSC::StructureShape::setConstructorName):
+
</ins><span class="cx"> 2016-09-02 Benjamin Poulain <bpoulain@apple.com>
</span><span class="cx">
</span><span class="cx"> [JSC] Remove some more useless cases from FTL Capabilities
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceJavaScriptCoreruntimeTypeSeth"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/runtime/TypeSet.h (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/runtime/TypeSet.h        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/JavaScriptCore/runtime/TypeSet.h        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> String stringRepresentation();
</span><span class="cx"> String toJSONString() const;
</span><span class="cx"> Ref<Inspector::Protocol::Runtime::StructureDescription> inspectorRepresentation();
</span><del>- void setConstructorName(String name) { m_constructorName = (name.isEmpty() ? "Object" : name); }
</del><ins>+ void setConstructorName(String name) { m_constructorName = (name.isEmpty() ? ASCIILiteral("Object") : name); }
</ins><span class="cx"> String constructorName() { return m_constructorName; }
</span><span class="cx"> void setProto(PassRefPtr<StructureShape> shape) { m_proto = shape; }
</span><span class="cx"> void enterDictionaryMode();
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -1,3 +1,33 @@
</span><ins>+2016-09-03 Joseph Pecoraro <pecoraro@apple.com>
+
+ Use ASCIILiteral in some more places
+ https://bugs.webkit.org/show_bug.cgi?id=161557
+
+ Reviewed by Darin Adler.
+
+ * Modules/indexeddb/IDBDatabaseException.cpp:
+ (WebCore::IDBDatabaseException::getErrorName):
+ (WebCore::IDBDatabaseException::getErrorDescription):
+ * Modules/websockets/WebSocket.cpp:
+ (WebCore::WebSocket::binaryType):
+ * css/FontFace.cpp:
+ (WebCore::FontFace::stretch):
+ (WebCore::FontFace::unicodeRange):
+ (WebCore::FontFace::featureSettings):
+ * html/canvas/WebGLRenderingContextBase.cpp:
+ * html/parser/HTMLPreloadScanner.cpp:
+ (WebCore::TokenPreloadScanner::initiatorFor):
+ * loader/FormSubmission.cpp:
+ (WebCore::FormSubmission::Attributes::parseEncodingType):
+ * page/SecurityOrigin.cpp:
+ (WebCore::SecurityOrigin::toRawString):
+ * platform/graphics/cg/ImageBufferCG.cpp:
+ (WebCore::CGImageToDataURL):
+ (WebCore::ImageBuffer::toDataURL):
+ (WebCore::ImageDataToDataURL):
+ * svg/graphics/SVGImage.cpp:
+ (WebCore::SVGImage::filenameExtension):
+
</ins><span class="cx"> 2016-09-03 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><span class="cx"> Align meta element http-equiv="refresh" parsing with the HTML specification
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoreModulesindexeddbIDBDatabaseExceptioncpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/indexeddb/IDBDatabaseException.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/indexeddb/IDBDatabaseException.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/indexeddb/IDBDatabaseException.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> const IDBDatabaseExceptionNameDescription* entry = getErrorEntry(ec);
</span><span class="cx"> ASSERT(entry);
</span><span class="cx"> if (!entry)
</span><del>- return "UnknownError";
</del><ins>+ return ASCIILiteral("UnknownError");
</ins><span class="cx">
</span><span class="cx"> return entry->name;
</span><span class="cx"> }
</span><span class="lines">@@ -101,7 +101,7 @@
</span><span class="cx"> const IDBDatabaseExceptionNameDescription* entry = getErrorEntry(ec);
</span><span class="cx"> ASSERT(entry);
</span><span class="cx"> if (!entry)
</span><del>- return "Unknown error.";
</del><ins>+ return ASCIILiteral("Unknown error.");
</ins><span class="cx">
</span><span class="cx"> return entry->description;
</span><span class="cx"> }
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoreModuleswebsocketsWebSocketcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/websockets/WebSocket.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/websockets/WebSocket.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/Modules/websockets/WebSocket.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -453,9 +453,9 @@
</span><span class="cx"> {
</span><span class="cx"> switch (m_binaryType) {
</span><span class="cx"> case BinaryTypeBlob:
</span><del>- return "blob";
</del><ins>+ return ASCIILiteral("blob");
</ins><span class="cx"> case BinaryTypeArrayBuffer:
</span><del>- return "arraybuffer";
</del><ins>+ return ASCIILiteral("arraybuffer");
</ins><span class="cx"> }
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx"> return String();
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCorecssFontFacecpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/css/FontFace.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/css/FontFace.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/css/FontFace.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -316,7 +316,7 @@
</span><span class="cx">
</span><span class="cx"> String FontFace::stretch() const
</span><span class="cx"> {
</span><del>- return "normal";
</del><ins>+ return ASCIILiteral("normal");
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> String FontFace::unicodeRange() const
</span><span class="lines">@@ -323,7 +323,7 @@
</span><span class="cx"> {
</span><span class="cx"> const_cast<CSSFontFace&>(m_backing.get()).updateStyleIfNeeded();
</span><span class="cx"> if (!m_backing->ranges().size())
</span><del>- return "U+0-10FFFF";
</del><ins>+ return ASCIILiteral("U+0-10FFFF");
</ins><span class="cx"> RefPtr<CSSValueList> values = CSSValueList::createCommaSeparated();
</span><span class="cx"> for (auto& range : m_backing->ranges())
</span><span class="cx"> values->append(CSSUnicodeRangeValue::create(range.from, range.to));
</span><span class="lines">@@ -340,7 +340,7 @@
</span><span class="cx"> {
</span><span class="cx"> const_cast<CSSFontFace&>(m_backing.get()).updateStyleIfNeeded();
</span><span class="cx"> if (!m_backing->featureSettings().size())
</span><del>- return "normal";
</del><ins>+ return ASCIILiteral("normal");
</ins><span class="cx"> RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated();
</span><span class="cx"> for (auto& feature : m_backing->featureSettings())
</span><span class="cx"> list->append(CSSFontFeatureValue::create(FontFeatureTag(feature.tag()), feature.value()));
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCorehtmlcanvasWebGLRenderingContextBasecpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -4873,17 +4873,17 @@
</span><span class="cx"> {
</span><span class="cx"> switch (error) {
</span><span class="cx"> case GraphicsContext3D::INVALID_ENUM:
</span><del>- return "INVALID_ENUM";
</del><ins>+ return ASCIILiteral("INVALID_ENUM");
</ins><span class="cx"> case GraphicsContext3D::INVALID_VALUE:
</span><del>- return "INVALID_VALUE";
</del><ins>+ return ASCIILiteral("INVALID_VALUE");
</ins><span class="cx"> case GraphicsContext3D::INVALID_OPERATION:
</span><del>- return "INVALID_OPERATION";
</del><ins>+ return ASCIILiteral("INVALID_OPERATION");
</ins><span class="cx"> case GraphicsContext3D::OUT_OF_MEMORY:
</span><del>- return "OUT_OF_MEMORY";
</del><ins>+ return ASCIILiteral("OUT_OF_MEMORY");
</ins><span class="cx"> case GraphicsContext3D::INVALID_FRAMEBUFFER_OPERATION:
</span><del>- return "INVALID_FRAMEBUFFER_OPERATION";
</del><ins>+ return ASCIILiteral("INVALID_FRAMEBUFFER_OPERATION");
</ins><span class="cx"> case GraphicsContext3D::CONTEXT_LOST_WEBGL:
</span><del>- return "CONTEXT_LOST_WEBGL";
</del><ins>+ return ASCIILiteral("CONTEXT_LOST_WEBGL");
</ins><span class="cx"> default:
</span><span class="cx"> return String::format("WebGL ERROR(%04x)", error);
</span><span class="cx"> }
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCorehtmlparserHTMLPreloadScannercpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/html/parser/HTMLPreloadScanner.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/html/parser/HTMLPreloadScanner.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/html/parser/HTMLPreloadScanner.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -74,13 +74,13 @@
</span><span class="cx"> switch (tagId) {
</span><span class="cx"> case TagId::Source:
</span><span class="cx"> case TagId::Img:
</span><del>- return "img";
</del><ins>+ return ASCIILiteral("img");
</ins><span class="cx"> case TagId::Input:
</span><del>- return "input";
</del><ins>+ return ASCIILiteral("input");
</ins><span class="cx"> case TagId::Link:
</span><del>- return "link";
</del><ins>+ return ASCIILiteral("link");
</ins><span class="cx"> case TagId::Script:
</span><del>- return "script";
</del><ins>+ return ASCIILiteral("script");
</ins><span class="cx"> case TagId::Unknown:
</span><span class="cx"> case TagId::Style:
</span><span class="cx"> case TagId::Base:
</span><span class="lines">@@ -88,10 +88,10 @@
</span><span class="cx"> case TagId::Meta:
</span><span class="cx"> case TagId::Picture:
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><del>- return "unknown";
</del><ins>+ return ASCIILiteral("unknown");
</ins><span class="cx"> }
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><del>- return "unknown";
</del><ins>+ return ASCIILiteral("unknown");
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> class TokenPreloadScanner::StartTagScanner {
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoreloaderFormSubmissioncpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/loader/FormSubmission.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/loader/FormSubmission.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/loader/FormSubmission.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -92,10 +92,10 @@
</span><span class="cx"> String FormSubmission::Attributes::parseEncodingType(const String& type)
</span><span class="cx"> {
</span><span class="cx"> if (equalLettersIgnoringASCIICase(type, "multipart/form-data"))
</span><del>- return "multipart/form-data";
</del><ins>+ return ASCIILiteral("multipart/form-data");
</ins><span class="cx"> if (equalLettersIgnoringASCIICase(type, "text/plain"))
</span><del>- return "text/plain";
- return "application/x-www-form-urlencoded";
</del><ins>+ return ASCIILiteral("text/plain");
+ return ASCIILiteral("application/x-www-form-urlencoded");
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void FormSubmission::Attributes::updateEncodingType(const String& type)
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCorepageSecurityOrigincpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/page/SecurityOrigin.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/page/SecurityOrigin.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/page/SecurityOrigin.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -465,7 +465,7 @@
</span><span class="cx"> String SecurityOrigin::toRawString() const
</span><span class="cx"> {
</span><span class="cx"> if (m_protocol == "file")
</span><del>- return "file://";
</del><ins>+ return ASCIILiteral("file://");
</ins><span class="cx">
</span><span class="cx"> StringBuilder result;
</span><span class="cx"> result.reserveCapacity(m_protocol.length() + m_host.length() + 10);
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoreplatformgraphicscgImageBufferCGcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -490,7 +490,7 @@
</span><span class="cx">
</span><span class="cx"> RetainPtr<CFMutableDataRef> data = adoptCF(CFDataCreateMutable(kCFAllocatorDefault, 0));
</span><span class="cx"> if (!CGImageEncodeToData(image, uti.get(), quality, data.get()))
</span><del>- return "data:,";
</del><ins>+ return ASCIILiteral("data:,");
</ins><span class="cx">
</span><span class="cx"> Vector<char> base64Data;
</span><span class="cx"> base64Encode(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()), base64Data);
</span><span class="lines">@@ -515,12 +515,12 @@
</span><span class="cx"> // JPEGs don't have an alpha channel, so we have to manually composite on top of black.
</span><span class="cx"> premultipliedData = getPremultipliedImageData(IntRect(IntPoint(0, 0), logicalSize()));
</span><span class="cx"> if (!premultipliedData)
</span><del>- return "data:,";
</del><ins>+ return ASCIILiteral("data:,");
</ins><span class="cx">
</span><span class="cx"> RetainPtr<CGDataProviderRef> dataProvider;
</span><span class="cx"> dataProvider = adoptCF(CGDataProviderCreateWithData(0, premultipliedData->data(), 4 * logicalSize().width() * logicalSize().height(), 0));
</span><span class="cx"> if (!dataProvider)
</span><del>- return "data:,";
</del><ins>+ return ASCIILiteral("data:,");
</ins><span class="cx">
</span><span class="cx"> image = adoptCF(CGImageCreate(logicalSize().width(), logicalSize().height(), 8, 32, 4 * logicalSize().width(),
</span><span class="cx"> sRGBColorSpaceRef(), kCGBitmapByteOrderDefault | kCGImageAlphaNoneSkipLast,
</span><span class="lines">@@ -556,7 +556,7 @@
</span><span class="cx"> // JPEGs don't have an alpha channel, so we have to manually composite on top of black.
</span><span class="cx"> size_t size = 4 * source.width() * source.height();
</span><span class="cx"> if (!premultipliedData.tryReserveCapacity(size))
</span><del>- return "data:,";
</del><ins>+ return ASCIILiteral("data:,");
</ins><span class="cx">
</span><span class="cx"> premultipliedData.resize(size);
</span><span class="cx"> unsigned char *buffer = premultipliedData.data();
</span><span class="lines">@@ -580,7 +580,7 @@
</span><span class="cx"> RetainPtr<CGDataProviderRef> dataProvider;
</span><span class="cx"> dataProvider = adoptCF(CGDataProviderCreateWithData(0, data, 4 * source.width() * source.height(), 0));
</span><span class="cx"> if (!dataProvider)
</span><del>- return "data:,";
</del><ins>+ return ASCIILiteral("data:,");
</ins><span class="cx">
</span><span class="cx"> RetainPtr<CGImageRef> image;
</span><span class="cx"> image = adoptCF(CGImageCreate(source.width(), source.height(), 8, 32, 4 * source.width(),
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit214SourceWebCoresvggraphicsSVGImagecpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/svg/graphics/SVGImage.cpp (205644 => 205645)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.14/Source/WebCore/svg/graphics/SVGImage.cpp        2016-09-08 15:31:44 UTC (rev 205644)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/svg/graphics/SVGImage.cpp        2016-09-08 15:51:44 UTC (rev 205645)
</span><span class="lines">@@ -422,7 +422,7 @@
</span><span class="cx">
</span><span class="cx"> String SVGImage::filenameExtension() const
</span><span class="cx"> {
</span><del>- return "svg";
</del><ins>+ return ASCIILiteral("svg");
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool isInSVGImage(const Element* element)
</span></span></pre>
</div>
</div>
</body>
</html>