From 6960a1bb4576ce637e644b654d146ed1a4431eba Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 11 Mar 2023 15:04:27 +0100 Subject: [PATCH] LibWeb: Stop polluting layout tree dumps with TextNode memory addresses I've never actually used this for anything, and it's pretty noisy. --- Userland/Libraries/LibWeb/Dump.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp index dd9ce84976..4219081607 100644 --- a/Userland/Libraries/LibWeb/Dump.cpp +++ b/Userland/Libraries/LibWeb/Dump.cpp @@ -151,8 +151,6 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho nonbox_color_on, identifier, color_off); - if (interactive) - builder.appendff(" @{:p}", &layout_node); builder.append("\n"sv); } else { auto& box = verify_cast(layout_node); @@ -263,8 +261,6 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho fragment_index, color_off, fragment.layout_node().class_name()); - if (interactive) - builder.appendff("@{:p}, ", &fragment.layout_node()); builder.appendff("start: {}, length: {}, rect: {}\n", fragment.start(), fragment.length(),