RESOLVED FIXED Bug 94450
[V8] Remove V8Proxy from V8IsolatedContext
https://bugs.webkit.org/show_bug.cgi?id=94450
Summary [V8] Remove V8Proxy from V8IsolatedContext
Kentaro Hara
Reported 2012-08-20 01:06:14 PDT
We can remove dependency on V8Proxy from V8IsolatedContext.
Attachments
Patch (5.46 KB, patch)
2012-08-20 01:07 PDT, Kentaro Hara
webkit.review.bot: commit-queue-
Kentaro Hara
Comment 1 2012-08-20 01:07:32 PDT
Kentaro Hara
Comment 2 2012-08-20 01:10:30 PDT
Comment on attachment 159352 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159352&action=review > Source/WebCore/bindings/v8/ScriptController.cpp:198 > + isolatedContext = new V8IsolatedContext(m_frame, extensionGroup, worldID); Should V8IsolatedContext be a RefPtr? If so, I'll write a follow-up fix to make it reference-countable.
Adam Barth
Comment 3 2012-08-20 11:12:54 PDT
Comment on attachment 159352 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159352&action=review >> Source/WebCore/bindings/v8/ScriptController.cpp:198 >> - isolatedContext = new V8IsolatedContext(proxy(), extensionGroup, worldID); >> + isolatedContext = new V8IsolatedContext(m_frame, extensionGroup, worldID); > > Should V8IsolatedContext be a RefPtr? If so, I'll write a follow-up fix to make it reference-countable. Its lifetime is managed by the V8 garbage collector. If you see a clean way to do that with RefPtr, go for it.
WebKit Review Bot
Comment 4 2012-08-20 14:59:10 PDT
Comment on attachment 159352 [details] Patch Rejecting attachment 159352 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: eeded at 1 with fuzz 3. patching file Source/WebCore/bindings/v8/ScriptController.cpp patching file Source/WebCore/bindings/v8/V8IsolatedContext.cpp Hunk #2 FAILED at 64. 1 out of 3 hunks FAILED -- saving rejects to file Source/WebCore/bindings/v8/V8IsolatedContext.cpp.rej patching file Source/WebCore/bindings/v8/V8IsolatedContext.h Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Adam Barth']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/13543490
Kentaro Hara
Comment 5 2012-08-20 16:57:55 PDT
Note You need to log in before you can comment on or make changes to this bug.