Title: [240590] trunk/Source/WebCore
Revision
240590
Author
[email protected]
Date
2019-01-28 11:09:40 -0800 (Mon, 28 Jan 2019)

Log Message

Unreviewed follow-up to r240557, restore a call to makeString
https://bugs.webkit.org/show_bug.cgi?id=192742
<rdar://problem/46757369>

It works if we add this #include that was missing. I got confused by the error messages and
missed that there were two similarly-named headers.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::logLayerInfo):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240589 => 240590)


--- trunk/Source/WebCore/ChangeLog	2019-01-28 18:35:00 UTC (rev 240589)
+++ trunk/Source/WebCore/ChangeLog	2019-01-28 19:09:40 UTC (rev 240590)
@@ -1,3 +1,15 @@
+2019-01-28  Michael Catanzaro  <[email protected]>
+
+        Unreviewed follow-up to r240557, restore a call to makeString
+        https://bugs.webkit.org/show_bug.cgi?id=192742
+        <rdar://problem/46757369>
+
+        It works if we add this #include that was missing. I got confused by the error messages and
+        missed that there were two similarly-named headers.
+
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::logLayerInfo):
+
 2019-01-28  Oriol Brufau  <[email protected]>
 
         [css-logical] Reject unitless length quirk in 'inset' shorthand

Modified: trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp (240589 => 240590)


--- trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2019-01-28 18:35:00 UTC (rev 240589)
+++ trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2019-01-28 19:09:40 UTC (rev 240590)
@@ -64,6 +64,7 @@
 #include <wtf/SetForScope.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuilder.h>
+#include <wtf/text/StringConcatenateNumbers.h>
 #include <wtf/text/TextStream.h>
 
 #if PLATFORM(IOS_FAMILY)
@@ -1278,7 +1279,7 @@
         backing->backingStoreMemoryEstimate() / 1024));
     
     if (!layer.renderer().style().hasAutoZIndex())
-        logString.append(String::format(" z-index: %d", layer.renderer().style().zIndex()));
+        logString.append(makeString(" z-index: ", layer.renderer().style().zIndex()));
 
     logString.appendLiteral(" (");
     logString.append(logReasonsForCompositing(layer));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to