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

Unified Diff: components/test_runner/layout_dump.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: components/test_runner/layout_dump.cc
diff --git a/components/test_runner/layout_dump.cc b/components/test_runner/layout_dump.cc
index 02a90ee7f100d5226360165d10b961fd04de6882..3c4c84d300558542709548dd463cdf97be4f5665 100644
--- a/components/test_runner/layout_dump.cc
+++ b/components/test_runner/layout_dump.cc
@@ -78,11 +78,6 @@ std::string DumpLayout(WebLocalFrame* frame, const LayoutDumpFlags& flags) {
WebFrameContentDumper::LayoutAsTextNormal;
if (flags.is_printing)
layout_text_behavior |= WebFrameContentDumper::LayoutAsTextPrinting;
- if (flags.debug_render_tree)
- layout_text_behavior |= WebFrameContentDumper::LayoutAsTextDebug;
- if (flags.dump_line_box_trees)
- layout_text_behavior |=
- WebFrameContentDumper::LayoutAsTextWithLineTrees;
result = WebFrameContentDumper::dumpLayoutTreeAsText(frame,
layout_text_behavior)
.utf8();
« no previous file with comments | « no previous file | components/test_runner/layout_dump_flags.h » ('j') | content/shell/browser/shell_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698