Index: cc/scheduler/scheduler_settings.cc |
diff --git a/cc/scheduler/scheduler_settings.cc b/cc/scheduler/scheduler_settings.cc |
index ea714e34b0dbae4fd3fc49fc0c874f758e739add..f1bf60e7865670e4351dc061833af9d74b1f0ef7 100644 |
--- a/cc/scheduler/scheduler_settings.cc |
+++ b/cc/scheduler/scheduler_settings.cc |
@@ -4,7 +4,6 @@ |
#include "cc/scheduler/scheduler_settings.h" |
-#include "base/debug/trace_event_argument.h" |
#include "cc/trees/layer_tree_settings.h" |
namespace cc { |
@@ -37,10 +36,8 @@ |
SchedulerSettings::~SchedulerSettings() {} |
-scoped_refptr<base::debug::ConvertableToTraceFormat> |
-SchedulerSettings::AsValue() const { |
- scoped_refptr<base::debug::TracedValue> state = |
- new base::debug::TracedValue(); |
+scoped_ptr<base::Value> SchedulerSettings::AsValue() const { |
+ scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); |
state->SetBoolean("begin_frame_scheduling_enabled", |
begin_frame_scheduling_enabled); |
state->SetBoolean("main_frame_before_draw_enabled", |
@@ -55,7 +52,7 @@ |
state->SetBoolean("using_synchronous_renderer_compositor", |
using_synchronous_renderer_compositor); |
state->SetBoolean("throttle_frame_production", throttle_frame_production); |
- return state; |
+ return state.PassAs<base::Value>(); |
} |
} // namespace cc |