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

Issue 151078: Speed up creation of DOM node wrappers (Closed)

Created:
11 years, 5 months ago by antonm
Modified:
9 years, 4 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
http://svn.webkit.org/repository/webkit/trunk/WebCore/
Visibility:
Public.

Description

This is an attempt to get several low hanging fruits like not retrieve a proxy when instantiating new wrapper, don't invoke getDOMNodeMap more than once, etc. LayoutTests (almost) pass. Almost: only one test fails, but it fails w/o my change as well (it's LayoutTests/http/tests/security/cross-frame-access-history-put.html, does it ring a bell?).

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -75 lines) Patch
M bindings/v8/V8Proxy.h View 1 3 chunks +10 lines, -2 lines 0 comments Download
M bindings/v8/V8Proxy.cpp View 1 4 chunks +64 lines, -73 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
antonm
11 years, 5 months ago (2009-06-30 15:14:50 UTC) #1
Mads Ager (chromium)
LGTM, but please wait for Dimitri's comments before sending the patch upstream. The test failure ...
11 years, 5 months ago (2009-06-30 17:21:19 UTC) #2
Mads Ager (chromium)
One more thing. http://codereview.chromium.org/151078/diff/1/2 File bindings/v8/V8Proxy.h (right): http://codereview.chromium.org/151078/diff/1/2#newcode188 Line 188: explicit V8Proxy(Frame* frame) : m_frame(frame), ...
11 years, 5 months ago (2009-06-30 17:31:33 UTC) #3
dglazkov
LGTM on the concept. Lots of style issues -- I would highly recommend looking at ...
11 years, 5 months ago (2009-06-30 17:33:05 UTC) #4
antonm
Dmitri, Mads, thanks a lot for review! Notable change: I've uncommented using of m_domNodeMap---sorry that ...
11 years, 5 months ago (2009-07-01 12:56:31 UTC) #5
Mads Ager (chromium)
LGTM
11 years, 5 months ago (2009-07-01 13:19:26 UTC) #6
antonm
11 years, 5 months ago (2009-07-03 18:27:48 UTC) #7
On 2009/07/01 13:19:26, Mads Ager wrote:
> LGTM

Close this one as it has been moved to webkit review process.

Powered by Google App Engine
This is Rietveld 408576698