Regression (r263788): Windows build broken: nameForRenderTreeAsText is not a member of WebCore::Color
https://bugs.webkit.org/show_bug.cgi?id=213841
<rdar://problem/64985276>

Fix Windows build.

* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(printColor):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@263800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 2f7cd0d..449a850 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2020-07-01  Sam Weinig  <weinig@apple.com>
+
+        Regression (r263788): Windows build broken: nameForRenderTreeAsText is not a member of WebCore::Color
+        https://bugs.webkit.org/show_bug.cgi?id=213841
+        <rdar://problem/64985276>
+
+        Fix Windows build.
+
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (printColor):
+
 2020-07-01  Youenn Fablet  <youenn@apple.com>
 
         Make NetworkSendQueue use CString instead of String for UTF-8 data
diff --git a/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp b/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
index e195790..548cbee 100644
--- a/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
+++ b/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
@@ -30,6 +30,7 @@
 #if USE(CA)
 
 #include "AbstractCACFLayerTreeHost.h"
+#include "ColorSerialization.h"
 #include "FontCascade.h"
 #include "GDIUtilities.h"
 #include "GraphicsContext.h"
@@ -740,11 +741,7 @@
 
     builder.append('\n');
     printIndent(builder, indent);
-    builder.append('(');
-    builder.append(label);
-    builder.append(' ');
-    builder.append(layerColor.nameForRenderTreeAsText());
-    builder.append(')');
+    builder.append('(', label, ' ', serializationForRenderTreeAsText(layerColor), ')');
 }
 
 static void printLayer(StringBuilder& builder, const PlatformCALayer* layer, int indent)