Add a newline after the URL in showLayerTree output.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 01:54:49 +0000 (01:54 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 01:54:49 +0000 (01:54 +0000)
Reviewed by Zalan Bujtas.

* rendering/RenderLayer.cpp:
(WebCore::showLayerTree):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp

index 0eb8a17..374cc60 100644 (file)
@@ -1,3 +1,12 @@
+2017-05-18  Simon Fraser  <simon.fraser@apple.com>
+
+        Add a newline after the URL in showLayerTree output.
+
+        Reviewed by Zalan Bujtas.
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::showLayerTree):
+
 2017-05-18  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         Attachment drag preview should not have the attachment outline
index 24a214e..7c9a8a9 100644 (file)
@@ -7216,7 +7216,7 @@ void showLayerTree(const WebCore::RenderLayer* layer)
         return;
 
     WTF::String output = externalRepresentation(&layer->renderer().frame(), WebCore::RenderAsTextShowAllLayers | WebCore::RenderAsTextShowLayerNesting | WebCore::RenderAsTextShowCompositedLayers | WebCore::RenderAsTextShowAddresses | WebCore::RenderAsTextShowIDAndClass | WebCore::RenderAsTextDontUpdateLayout | WebCore::RenderAsTextShowLayoutState | WebCore::RenderAsTextShowOverflow | WebCore::RenderAsTextShowSVGGeometry | WebCore::RenderAsTextShowLayerFragments);
-    fprintf(stderr, "%s\n", output.utf8().data());
+    fprintf(stderr, "\n%s\n", output.utf8().data());
 }
 
 void showLayerTree(const WebCore::RenderObject* renderer)