| Index: ui/compositor/debug_utils.cc
|
| diff --git a/ui/compositor/debug_utils.cc b/ui/compositor/debug_utils.cc
|
| index fa6c1013eb025df3b2adc8511587dc792698495c..9b531ff5294781127d626f34ec8014c783732f5c 100644
|
| --- a/ui/compositor/debug_utils.cc
|
| +++ b/ui/compositor/debug_utils.cc
|
| @@ -23,9 +23,6 @@ namespace {
|
|
|
| void PrintLayerHierarchyImp(const Layer* layer, int indent,
|
| gfx::Point mouse_location) {
|
| - if (!layer->visible())
|
| - return;
|
| -
|
| std::wostringstream buf;
|
| std::string indent_str(indent, ' ');
|
| std::string content_indent_str(indent+1, ' ');
|
| @@ -56,6 +53,9 @@ void PrintLayerHierarchyImp(const Layer* layer, int indent,
|
| break;
|
| }
|
|
|
| + if (!layer->visible())
|
| + buf << L" !visible";
|
| +
|
| buf << L'\n' << UTF8ToWide(content_indent_str);
|
| buf << L"bounds: " << layer->bounds().x() << L',' << layer->bounds().y();
|
| buf << L' ' << layer->bounds().width() << L'x' << layer->bounds().height();
|
|
|