blob: e4ef851f6454201ee6c5a822f0a6f961e7f7fcb3 [file] [log] [blame]
// 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 "core/testing/RefCountedScriptWrappable.h"
namespace blink {
RefCountedScriptWrappable::RefCountedScriptWrappable(const String& string)
: m_string(string)
{
ScriptWrappable::init(this);
}
RefCountedScriptWrappable::~RefCountedScriptWrappable()
{
}
PassRefPtr<RefCountedScriptWrappable> RefCountedScriptWrappable::create(const String& string)
{
return adoptRef(new RefCountedScriptWrappable(string));
}
} // namespace blink