Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / testing / RefCountedScriptWrappable.cpp
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 #include "core/testing/RefCountedScriptWrappable.h"
7
8 namespace blink {
9
10 RefCountedScriptWrappable::RefCountedScriptWrappable(const String& string)
11     : m_string(string)
12 {
13 }
14
15 RefCountedScriptWrappable::~RefCountedScriptWrappable()
16 {
17 }
18
19 PassRefPtr<RefCountedScriptWrappable> RefCountedScriptWrappable::create(const String& string)
20 {
21     return adoptRef(new RefCountedScriptWrappable(string));
22 }
23
24 } // namespace blink
25