[GTK] REGRESSION(r207396) Build broken with Clang.
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Oct 2016 10:42:17 +0000 (10:42 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Oct 2016 10:42:17 +0000 (10:42 +0000)
https://bugs.webkit.org/show_bug.cgi?id=163599

Suggested and reviewed by Darin Adler.

* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::getStringValue):

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

Source/WebCore/ChangeLog
Source/WebCore/css/CSSPrimitiveValue.cpp

index 6f20a8b..9638948 100644 (file)
@@ -1,3 +1,13 @@
+2016-10-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
+
+        [GTK] REGRESSION(r207396) Build broken with Clang.
+        https://bugs.webkit.org/show_bug.cgi?id=163599
+
+        Suggested and reviewed by Darin Adler.
+
+        * css/CSSPrimitiveValue.cpp:
+        (WebCore::CSSPrimitiveValue::getStringValue):
+
 2016-10-19  Darin Adler  <darin@apple.com>
 
         Try to fix build.
index f4b32d4..492c754 100644 (file)
@@ -936,9 +936,9 @@ ExceptionOr<String> CSSPrimitiveValue::getStringValue() const
     case CSS_FONT_FAMILY:
         return String { m_value.fontFamily->familyName };
     case CSS_VALUE_ID:
-        return String { valueName(m_value.valueID) };
+        return String { valueName(m_value.valueID).string() };
     case CSS_PROPERTY_ID:
-        return String { propertyName(m_value.propertyID) };
+        return String { propertyName(m_value.propertyID).string() };
     default:
         return Exception { INVALID_ACCESS_ERR };
     }