DescriptionAdd convenience method for converting v8::PersistentBase to v8::Local
The CL addes convenienve method that allows to write code like the following
v8::Local<v8::Object> local = v8::Local<v8::Object>::New(global, isolate);
in a more readable way:
v8::Local<v8::Object> local = global.Get(isolate);
There is already v8::Eternal::Get that does similar thing.
BUG=None
LOG=Y
Committed: https://crrev.com/e5a77abcf8c651a1abd3949540ce6c9100ced4ef
Cr-Commit-Position: refs/heads/master@{#29616}
Patch Set 1 #Patch Set 2 : Fixed test compilation #
Messages
Total messages: 15 (7 generated)
|