Address post-review comment after r229049.
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2018 08:06:41 +0000 (08:06 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2018 08:06:41 +0000 (08:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183142

Reviewed by Tim Horton.

Wrap a newly added string literal with ASCIILiteral.

* rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::extraDefaultStyleSheet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderThemeIOS.mm

index aef8891..80c0617 100644 (file)
@@ -1,3 +1,15 @@
+2018-02-27  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Address post-review comment after r229049.
+        https://bugs.webkit.org/show_bug.cgi?id=183142
+
+        Reviewed by Tim Horton.
+
+        Wrap a newly added string literal with ASCIILiteral.
+
+        * rendering/RenderThemeIOS.mm:
+        (WebCore::RenderThemeIOS::extraDefaultStyleSheet):
+
 2018-02-26  Mark Lam  <mark.lam@apple.com>
 
         Modernize FINALIZE_CODE and peer macros to use __VA_ARGS__ arguments.
index d3bc50a..9f2338c 100644 (file)
@@ -1803,7 +1803,7 @@ bool RenderThemeIOS::paintAttachment(const RenderObject& renderer, const PaintIn
 
 String RenderThemeIOS::extraDefaultStyleSheet()
 {
-    return "* { -webkit-text-size-adjust: auto !important; -webkit-hyphens: auto !important; }";
+    return ASCIILiteral("* { -webkit-text-size-adjust: auto !important; -webkit-hyphens: auto !important; }");
 }
 
 #endif