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

Issue 2042943002: Replace info.This() with info.Holder() (Closed)

Created:
4 years, 6 months ago by haraken
Modified:
4 years, 6 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace info.This() with info.Holder() If the object is not window, info.This() == info.Holder(). Hence, we can just replace info.This() with info.Holder(). If the object is window, info.Holder() is the inner window and info.This() is the outer window. However, all accesses to the outer window are redirected to the inner window. Hence, the replacement doesn't change any behavior. BUG= Committed: https://crrev.com/22af33ec38578537487b405149b46c80e984e2e4 Cr-Commit-Position: refs/heads/master@{#398249}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -27 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_attributes.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_utilities.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/methods.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
haraken
PTAL
4 years, 6 months ago (2016-06-07 02:43:51 UTC) #2
Yuki
I understand that you'd like to avoid any confusion between info.This() and info.Holder(), but I'm ...
4 years, 6 months ago (2016-06-07 05:16:09 UTC) #3
haraken
On 2016/06/07 05:16:09, Yuki wrote: > I understand that you'd like to avoid any confusion ...
4 years, 6 months ago (2016-06-07 05:40:58 UTC) #4
Yuki
LGTM!
4 years, 6 months ago (2016-06-07 06:08:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042943002/20001
4 years, 6 months ago (2016-06-07 06:22:07 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/159317)
4 years, 6 months ago (2016-06-07 06:53:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042943002/20001
4 years, 6 months ago (2016-06-07 06:57:39 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/159332)
4 years, 6 months ago (2016-06-07 07:20:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042943002/20001
4 years, 6 months ago (2016-06-07 07:37:09 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-07 08:11:41 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 08:13:22 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/22af33ec38578537487b405149b46c80e984e2e4
Cr-Commit-Position: refs/heads/master@{#398249}

Powered by Google App Engine
This is Rietveld 408576698