Index: Source/bindings/dart/DartJsInterop.cpp |
diff --git a/Source/bindings/dart/DartJsInterop.cpp b/Source/bindings/dart/DartJsInterop.cpp |
index ba91725a100f51edf6d2faf6e136f438f1d9ab7d..65db3791a9c188e1fd29e92b2ded2a8f04ad932d 100644 |
--- a/Source/bindings/dart/DartJsInterop.cpp |
+++ b/Source/bindings/dart/DartJsInterop.cpp |
@@ -34,7 +34,7 @@ |
#include "DartJsInteropData.h" |
#include "bindings/dart/DartDOMWrapper.h" |
#include "bindings/dart/DartHandleProxy.h" |
-#include "bindings/dart/DartScriptValue.h" |
+#include "bindings/dart/DartPersistentValue.h" |
#include "bindings/dart/DartUtilities.h" |
#include "bindings/dart/V8Converter.h" |
#include "bindings/v8/V8Binding.h" |
@@ -266,7 +266,7 @@ Dart_Handle JsInterop::toDart(v8::Local<v8::Value> v8Handle) |
// If this use case is important we can support it at the cost of hanging |
// an extra expando off the JS function wrapping the Dart function. |
if (DartHandleProxy::isDartProxy(v8Handle)) { |
- DartScriptValue* scriptValue = DartHandleProxy::readPointerFromProxy(v8Handle); |
+ DartPersistentValue* scriptValue = DartHandleProxy::readPointerFromProxy(v8Handle); |
ASSERT(scriptValue->isIsolateAlive()); |
return scriptValue->value(); |
} |