• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "config.h"
6 
7 #include "platform/TracedValue.h"
8 
9 #include "platform/JSONValues.h"
10 
11 namespace WebCore {
12 
TracedValue(PassRefPtr<JSONValue> value)13 TracedValue::TracedValue(PassRefPtr<JSONValue> value)
14     : m_value(value)
15 {
16 }
17 
asTraceFormat() const18 String TracedValue::asTraceFormat() const
19 {
20     return m_value->toJSONString();
21 }
22 
~TracedValue()23 TracedValue::~TracedValue()
24 {
25 }
26 
27 }
28