diff options
-rw-r--r-- | cc/scheduler/begin_frame_source.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/scheduler/begin_frame_source.cc b/cc/scheduler/begin_frame_source.cc index a5d859f..4a9f184 100644 --- a/cc/scheduler/begin_frame_source.cc +++ b/cc/scheduler/begin_frame_source.cc @@ -458,14 +458,15 @@ void BeginFrameSourceMultiplexer::AsValueInto( dict->SetString("active_source", "NULL"); } + dict->BeginArray("sources"); for (std::set<BeginFrameSource*>::const_iterator it = source_list_.begin(); it != source_list_.end(); ++it) { - dict->BeginDictionary( - base::SizeTToString(std::distance(source_list_.begin(), it)).c_str()); + dict->BeginDictionary(); (*it)->AsValueInto(dict); dict->EndDictionary(); } + dict->EndArray(); } // protected methods |