Index: Source/bindings/v8/SerializedScriptValue.cpp |
diff --git a/Source/bindings/v8/SerializedScriptValue.cpp b/Source/bindings/v8/SerializedScriptValue.cpp |
index 7addfa0afae46a532bdc113c482ee1722e2f5f65..47b951f20a03973bf5ea53f75133ff0ba08d2c78 100644 |
--- a/Source/bindings/v8/SerializedScriptValue.cpp |
+++ b/Source/bindings/v8/SerializedScriptValue.cpp |
@@ -2371,7 +2371,7 @@ inline void neuterBinding(ArrayBuffer* object) |
{ |
Vector<DOMDataStore*>& allStores = V8PerIsolateData::current()->allStores(); |
for (size_t i = 0; i < allStores.size(); i++) { |
- v8::Handle<v8::Object> wrapper = allStores[i]->get(object); |
+ v8::Handle<v8::Object> wrapper = allStores[i]->get<V8ArrayBuffer>(object); |
if (!wrapper.IsEmpty()) { |
ASSERT(wrapper->IsArrayBuffer()); |
v8::Handle<v8::ArrayBuffer>::Cast(wrapper)->Neuter(); |
@@ -2383,7 +2383,7 @@ inline void neuterBinding(ArrayBufferView* object) |
{ |
Vector<DOMDataStore*>& allStores = V8PerIsolateData::current()->allStores(); |
for (size_t i = 0; i < allStores.size(); i++) { |
- v8::Handle<v8::Object> wrapper = allStores[i]->get(object); |
+ v8::Handle<v8::Object> wrapper = allStores[i]->get<V8ArrayBufferView>(object); |
if (!wrapper.IsEmpty()) |
wrapper->SetIndexedPropertiesToExternalArrayData(0, v8::kExternalByteArray, 0); |
} |