Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2742)

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1755123004: Remove dump_line_box_trees and debug_render_tree from LayoutDumpFlags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding const-ref enabled by the core changes. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 6bc6ad435fec5abb55b280447ed5f99b95955ae4..633757842fe40e980814f120ba42c669c4928c01 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -889,12 +889,8 @@ void BlinkTestRunner::CaptureDump() {
return;
}
- test_runner::LayoutDumpFlags layout_dump_flags =
+ const test_runner::LayoutDumpFlags& layout_dump_flags =
interfaces->TestRunner()->GetLayoutDumpFlags();
- layout_dump_flags.dump_line_box_trees =
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDumpLineBoxTrees);
-
if (!layout_dump_flags.dump_child_frames()) {
std::string layout_dump = DumpLayout(
render_view()->GetMainRenderFrame()->GetWebFrame(), layout_dump_flags);
« content/shell/common/shell_switches.cc ('K') | « content/shell/common/shell_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698