DescriptionRemove dump_line_box_trees and debug_render_tree from LayoutDumpFlags.
LayoutDumpFlags::debug_render_tree was always set to false.
LayoutDumpFlags::dump_line_box_trees was controlled by
--dump-line-box-trees switch. I have not found any usage of this switch
(searching chromium repo via web/codesearch [1] and manually searching
the build repo [2] that contains trybot and fyibot scripts).
Removing these flags is desirable because:
- Replication of LayoutDumpFlags across OOPIFs [3] gets sligthly and
unnecessarily more complicated when it has to take into account values
coming from command-line switches.
- Code removal is desirable in general (reduces maintenance burden).
BUG=587175
[1] https://code.google.com/p/chromium/codesearch#chromium/src/content/shell/common/shell_switches.cc&q=%22dump-line-box-trees%22&sq=package:chromium&type=cs&l=33
[2] https://chromium.googlesource.com/chromium/tools/build.git
[3] work-in-progress, 2 approaches being considered at crrev.com/1715573002 and crrev.com/1736353002.
Committed: https://crrev.com/c76d857e4749bb13f8eeaf0a77d57e69338dc7f5
Cr-Commit-Position: refs/heads/master@{#379322}
Patch Set 1 #Patch Set 2 : Adding const-ref enabled by the core changes. #
Total comments: 3
Dependent Patchsets: Messages
Total messages: 14 (4 generated)
|