Index: content/shell/browser/layout_test/blink_test_controller.cc |
diff --git a/content/shell/browser/layout_test/blink_test_controller.cc b/content/shell/browser/layout_test/blink_test_controller.cc |
index 59bdc204bee2912c0f0f6303559717edc9dc5b6c..23095fb23b5abedcf3ca0e5656fed75a04a6b846 100644 |
--- a/content/shell/browser/layout_test/blink_test_controller.cc |
+++ b/content/shell/browser/layout_test/blink_test_controller.cc |
@@ -20,6 +20,7 @@ |
#include "base/strings/stringprintf.h" |
#include "base/thread_task_runner_handle.h" |
#include "build/build_config.h" |
+#include "components/test_runner/layout_dump_flags.h" |
#include "content/public/browser/devtools_agent_host.h" |
#include "content/public/browser/dom_storage_context.h" |
#include "content/public/browser/gpu_data_manager.h" |
@@ -643,8 +644,8 @@ void BlinkTestController::OnTextDump(const std::string& dump) { |
} |
void BlinkTestController::OnInitiateLayoutDump( |
- test_runner::LayoutDumpFlags layout_dump_flags) { |
- DCHECK(layout_dump_flags.dump_child_frames); |
+ const test_runner::LayoutDumpFlags& layout_dump_flags) { |
+ DCHECK(layout_dump_flags.dump_child_frames()); |
pending_layout_dumps_ = main_window_->web_contents()->SendToAllFrames( |
new ShellViewMsg_LayoutDumpRequest(MSG_ROUTING_NONE, layout_dump_flags)); |
} |