| Index: Source/bindings/dart/DartPersistentValue.h
|
| diff --git a/Source/bindings/dart/DartScriptValue.h b/Source/bindings/dart/DartPersistentValue.h
|
| similarity index 83%
|
| copy from Source/bindings/dart/DartScriptValue.h
|
| copy to Source/bindings/dart/DartPersistentValue.h
|
| index 4da4128a7c05f3d9e3e7cf26db55b611b1456440..9442251a59b03823f11b845f70b8a5c435181bca 100644
|
| --- a/Source/bindings/dart/DartScriptValue.h
|
| +++ b/Source/bindings/dart/DartPersistentValue.h
|
| @@ -28,22 +28,21 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef DartScriptValue_h
|
| -#define DartScriptValue_h
|
| +#ifndef DartPersistentValue_h
|
| +#define DartPersistentValue_h
|
|
|
| #include "bindings/dart/DartIsolateDestructionObserver.h"
|
| -
|
| +#include "wtf/Noncopyable.h"
|
| +#include "wtf/RefPtr.h"
|
| #include <dart_api.h>
|
| -#include <wtf/Noncopyable.h>
|
| -#include <wtf/RefPtr.h>
|
|
|
| namespace WebCore {
|
|
|
| -class DartScriptValue : public DartIsolateDestructionObserver {
|
| - WTF_MAKE_NONCOPYABLE(DartScriptValue);
|
| +class DartPersistentValue : public DartIsolateDestructionObserver {
|
| + WTF_MAKE_NONCOPYABLE(DartPersistentValue);
|
| public:
|
| - explicit DartScriptValue(Dart_Handle value);
|
| - ~DartScriptValue();
|
| + explicit DartPersistentValue(Dart_Handle value);
|
| + ~DartPersistentValue();
|
|
|
| Dart_PersistentHandle value() { return m_value; }
|
|
|
| @@ -53,4 +52,4 @@ private:
|
|
|
| }
|
|
|
| -#endif // DartScriptValue_h
|
| +#endif // DartPersistentValue_h
|
|
|