| 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 ebba1156ae0383f3dde3da1a26788584a4c5b199..21df57f58da4fff10aeff05471c8f1e02b9991b1 100644
|
| --- a/content/shell/renderer/layout_test/blink_test_runner.cc
|
| +++ b/content/shell/renderer/layout_test/blink_test_runner.cc
|
| @@ -784,8 +784,11 @@ void BlinkTestRunner::CaptureDump() {
|
| interfaces->TestRunner()->GetAudioData(&vector_data);
|
| Send(new ShellViewHostMsg_AudioDump(routing_id(), vector_data));
|
| } else {
|
| - Send(new ShellViewHostMsg_TextDump(routing_id(),
|
| - proxy()->CaptureTree(false)));
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| + Send(new ShellViewHostMsg_TextDump(
|
| + routing_id(), proxy()->CaptureTree(
|
| + false, command_line.HasSwitch(switches::kDumpLineBoxTrees))));
|
|
|
| if (test_config_.enable_pixel_dumping &&
|
| interfaces->TestRunner()->ShouldGeneratePixelResults()) {
|
|
|