Chromium Code Reviews
DescriptionMove encryptedmedia module to oilpan
This CL also changes the internal field where a persistent
handle is stored (for some complicated reason explained below).
Previously the persistent handle was stored in the first index
of custom internal fields. However, this causes an index
conflict in the following scenario:
- EventTarget stores its hidden value array in the first index
of its custom internal fields.
- MediaKeySession stores the persistent handle in the first index
of its custom internal fields.
- MediaKeySession inherits from EventTarget.
- This situation confuses an EventTarget object because the first index
of its custom internal fields stores different things depending
on subclass types.
The easiest way to avoid the confusion is to store the persistent
handle into the last index of all internal fields. This CL does that.
Note: We're planning to remove the internal field for the persistent handle
by sharing one internal field between the persistent handle (if the object
is in oilpan) and a C++ pointer of the DOM object (if the object is not in oilpan).
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166698
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Total comments: 2
Patch Set 8 : #
Total comments: 4
Messages
Total messages: 28 (0 generated)
|