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 8namespace blink { 9 10RefCountedScriptWrappable::RefCountedScriptWrappable(const String& string) 11 : m_string(string) 12{ 13} 14 15RefCountedScriptWrappable::~RefCountedScriptWrappable() 16{ 17} 18 19PassRefPtr<RefCountedScriptWrappable> RefCountedScriptWrappable::create(const String& string) 20{ 21 return adoptRef(new RefCountedScriptWrappable(string)); 22} 23 24} // namespace blink 25 26