diff options
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/tools/compositor_model_bench/render_tree.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gpu/tools/compositor_model_bench/render_tree.cc b/gpu/tools/compositor_model_bench/render_tree.cc index 5aecf33..9e14ca2 100644 --- a/gpu/tools/compositor_model_bench/render_tree.cc +++ b/gpu/tools/compositor_model_bench/render_tree.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -441,7 +441,8 @@ RenderNode* InterpretNode(DictionaryValue* node) { string outjson; - JSONWriter::Write(node, true, &outjson); + JSONWriter::WriteWithOptions(node, base::JSONWriter::OPTIONS_PRETTY_PRINT, + &outjson); LOG(ERROR) << "Unrecognized node type! JSON:\n\n" "-----------------------\n" << outjson << |