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

Issue 2616903002: Remove ScriptController::namedItemAdded/Removed (Closed)

Created:
3 years, 11 months ago by haraken
Modified:
3 years, 11 months ago
Reviewers:
Yuki
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ScriptController::namedItemAdded/Removed They are unnecessary indirection to WindowProxy::namedItemAdded/Removed. Also this CL updates a dcheck in WindowProxy::namedItemAdded/Removed to verify that those methods are called after the window proxy is initialized. (The check will be replaced with a better lifecycle model in a follow-up CL.) BUG=677253 Review-Url: https://codereview.chromium.org/2616903002 Cr-Commit-Position: refs/heads/master@{#441803} Committed: https://chromium.googlesource.com/chromium/src/+/5807dc6e5f6be9c395dc81b43335055f2d6a2a97

Patch Set 1 #

Total comments: 2

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -21 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptController.h View 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLDocument.cpp View 3 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
haraken
PTAL
3 years, 11 months ago (2017-01-05 13:20:10 UTC) #2
Yuki
LGTM. https://codereview.chromium.org/2616903002/diff/1/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp (right): https://codereview.chromium.org/2616903002/diff/1/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp#newcode522 third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp:522: if (!m_scriptState->contextIsValid()) Why do you want to replace ...
3 years, 11 months ago (2017-01-05 13:31:27 UTC) #3
haraken
https://codereview.chromium.org/2616903002/diff/1/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp (right): https://codereview.chromium.org/2616903002/diff/1/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp#newcode522 third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp:522: if (!m_scriptState->contextIsValid()) On 2017/01/05 13:31:27, Yuki wrote: > Why ...
3 years, 11 months ago (2017-01-05 23:50:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616903002/20001
3 years, 11 months ago (2017-01-05 23:51:05 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 01:46:43 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5807dc6e5f6be9c395dc81b43335...

Powered by Google App Engine
This is Rietveld 408576698