diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/TracedValue.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/TracedValue.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/TracedValue.cpp b/chromium/third_party/WebKit/Source/platform/TracedValue.cpp new file mode 100644 index 00000000000..b8b3697d0a5 --- /dev/null +++ b/chromium/third_party/WebKit/Source/platform/TracedValue.cpp @@ -0,0 +1,27 @@ +// Copyright 2014 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. + +#include "config.h" + +#include "platform/TracedValue.h" + +#include "platform/JSONValues.h" + +namespace WebCore { + +TracedValue::TracedValue(PassRefPtr<JSONValue> value) + : m_value(value) +{ +} + +String TracedValue::asTraceFormat() const +{ + return m_value->toJSONString(); +} + +TracedValue::~TracedValue() +{ +} + +} |