Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: Source/bindings/v8/V8DOMWrapper.h

Issue 139173012: Move encryptedmedia module to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/V8DOMWrapper.h
diff --git a/Source/bindings/v8/V8DOMWrapper.h b/Source/bindings/v8/V8DOMWrapper.h
index c59ce81f1483666d3d06b597e3e515ae97b77764..bc078e456148737c82ef3740b16a6a8c73a3c9dc 100644
--- a/Source/bindings/v8/V8DOMWrapper.h
+++ b/Source/bindings/v8/V8DOMWrapper.h
@@ -78,7 +78,8 @@ struct WrapperTypeInfo;
ASSERT(type->isGarbageCollected);
wrapper->SetAlignedPointerInInternalField(v8DOMWrapperObjectIndex, object);
wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type));
- wrapper->SetAlignedPointerInInternalField(v8PersistentHandleIndex, handle);
+ // Persistent handle is stored in the last internal field.
+ wrapper->SetAlignedPointerInInternalField(wrapper->InternalFieldCount() - 1, handle);
}
inline void V8DOMWrapper::clearNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type)

Powered by Google App Engine
This is Rietveld 408576698