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

Issue 22564003: Refactoring: Get rid of isDocument() check in EventTarget. (Closed)

Created:
7 years, 4 months ago by Hajime Morrita
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Refactoring: Get rid of isDocument() check in EventTarget. This is a preparation for dispatching onload events for sub-imports. In a coming change, newly added executingWindow() will walk up the import tree to return the master doc's DOMWindow. TEST=none BUG=240592 R=abarth,dglazkov Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155921

Patch Set 1 #

Total comments: 2

Patch Set 2 : Applied the rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -22 lines) Patch
M Source/core/dom/Document.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/dom/EventTarget.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/EventTarget.cpp View 1 4 chunks +21 lines, -22 lines 0 comments Download
M Source/core/dom/ScriptExecutionContext.h View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Hajime Morrita
PTAL?
7 years, 4 months ago (2013-08-09 09:55:46 UTC) #1
abarth-chromium
This is fine, but we'll need a different name for this function.... Is there a ...
7 years, 4 months ago (2013-08-09 16:25:53 UTC) #2
abarth-chromium
LGTM, assuming you find a better name.
7 years, 4 months ago (2013-08-09 16:26:12 UTC) #3
Hajime Morrita
Thanks for the review, Adam! I'd pick the name "executingWindow". The intention here, from HTML ...
7 years, 4 months ago (2013-08-12 01:45:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/22564003/9001
7 years, 4 months ago (2013-08-12 01:47:12 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 03:26:23 UTC) #6
Message was sent while issue was closed.
Change committed as 155921

Powered by Google App Engine
This is Rietveld 408576698