summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/V8MessagePortCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings/v8/V8MessagePortCustom.cpp')
-rw-r--r--webkit/port/bindings/v8/V8MessagePortCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/bindings/v8/V8MessagePortCustom.cpp b/webkit/port/bindings/v8/V8MessagePortCustom.cpp
index 0025046..81948f8 100644
--- a/webkit/port/bindings/v8/V8MessagePortCustom.cpp
+++ b/webkit/port/bindings/v8/V8MessagePortCustom.cpp
@@ -54,7 +54,7 @@ static void CreateHiddenDependency(v8::Local<v8::Object> object,
v8::Local<v8::Value> cache = object->GetInternalField(V8Custom::kMessagePortRequestCacheIndex);
if (cache->IsNull() || cache->IsUndefined()) {
cache = v8::Array::New();
- object->SetInternalField(V8Custom::kXMLHttpRequestCacheIndex, cache);
+ object->SetInternalField(V8Custom::kMessagePortRequestCacheIndex, cache);
}
v8::Local<v8::Array> cacheArray = v8::Local<v8::Array>::Cast(cache);