Fix the Windows build after <https://trac.webkit.org/changeset/225879>
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Dec 2017 01:02:14 +0000 (01:02 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Dec 2017 01:02:14 +0000 (01:02 +0000)
(https://bugs.webkit.org/show_bug.cgi?id=180651)

* html/TextFieldInputType.cpp:
(WebCore::autoFillButtonTypeToAccessibilityLabel):
(WebCore::autoFillButtonTypeToAutoFillButtonText):
(WebCore::autoFillButtonTypeToAutoFillButtonPseudoClassName):

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

Source/WebCore/ChangeLog
Source/WebCore/html/TextFieldInputType.cpp

index cdfbfe9..263a137 100644 (file)
@@ -1,3 +1,13 @@
+2017-12-13  Daniel Bates  <dabates@apple.com>
+
+        Fix the Windows build after <https://trac.webkit.org/changeset/225879>
+        (https://bugs.webkit.org/show_bug.cgi?id=180651)
+
+        * html/TextFieldInputType.cpp:
+        (WebCore::autoFillButtonTypeToAccessibilityLabel):
+        (WebCore::autoFillButtonTypeToAutoFillButtonText):
+        (WebCore::autoFillButtonTypeToAutoFillButtonPseudoClassName):
+
 2017-12-13  Devin Rousso  <webkit@devinrousso.com>
 
         Web Inspector: add instrumentation for ImageBitmapRenderingContext
index a415e04..bec34ba 100644 (file)
@@ -414,6 +414,8 @@ static String autoFillButtonTypeToAccessibilityLabel(AutoFillButtonType autoFill
         ASSERT_NOT_REACHED();
         return { };
     }
+    ASSERT_NOT_REACHED();
+    return { };
 }
 
 static String autoFillButtonTypeToAutoFillButtonText(AutoFillButtonType autoFillButtonType)
@@ -429,6 +431,8 @@ static String autoFillButtonTypeToAutoFillButtonText(AutoFillButtonType autoFill
         ASSERT_NOT_REACHED();
         return { };
     }
+    ASSERT_NOT_REACHED();
+    return { };
 }
 
 static AtomicString autoFillButtonTypeToAutoFillButtonPseudoClassName(AutoFillButtonType autoFillButtonType)
@@ -446,6 +450,8 @@ static AtomicString autoFillButtonTypeToAutoFillButtonPseudoClassName(AutoFillBu
         ASSERT_NOT_REACHED();
         return emptyAtom();
     }
+    ASSERT_NOT_REACHED();
+    return { };
 }
 
 static bool isAutoFillButtonTypeChanged(const AtomicString& attribute, AutoFillButtonType autoFillButtonType)