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

Issue 2015003002: Disallow local/remote checks on subclasses of Frame, FrameOwner and DOMWindow. (Closed)

Created:
4 years, 7 months ago by dcheng
Modified:
4 years, 6 months ago
Reviewers:
haraken, esprehn
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dcheng, dglazkov+blink, kinuko+watch, mlamouri+watch-blink_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow local/remote checks on subclasses of Frame, FrameOwner and DOMWindow. If the type is already one of the derived types, it's unnecessary to check if the object is local or remote. For example, calling LocalFrame::isLocalFrame() is tautological and will always be true. BUG=none Committed: https://crrev.com/aae89d529f4f9b798a53460a403e1fc7c2624ba4 Cr-Commit-Position: refs/heads/master@{#396311}

Patch Set 1 #

Total comments: 4

Patch Set 2 : pure virtual #

Messages

Total messages: 15 (5 generated)
dcheng
Yak shave.
4 years, 7 months ago (2016-05-26 20:25:56 UTC) #2
esprehn
Can we go pure virtual instead and do the actual returns in the classes? I'm ...
4 years, 7 months ago (2016-05-26 20:36:45 UTC) #3
dcheng
https://codereview.chromium.org/2015003002/diff/1/third_party/WebKit/Source/core/frame/LocalDOMWindow.h File third_party/WebKit/Source/core/frame/LocalDOMWindow.h (right): https://codereview.chromium.org/2015003002/diff/1/third_party/WebKit/Source/core/frame/LocalDOMWindow.h#newcode216 third_party/WebKit/Source/core/frame/LocalDOMWindow.h:216: using DOMWindow::isRemoteDOMWindow; On 2016/05/26 at 20:36:45, esprehn wrote: > ...
4 years, 7 months ago (2016-05-26 20:45:32 UTC) #4
esprehn
lgtm
4 years, 7 months ago (2016-05-26 20:49:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015003002/20001
4 years, 7 months ago (2016-05-26 20:52:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/190675)
4 years, 7 months ago (2016-05-26 21:00:50 UTC) #9
haraken
LGTM
4 years, 7 months ago (2016-05-26 21:07:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015003002/20001
4 years, 7 months ago (2016-05-26 21:43:01 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-05-26 23:22:17 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-26 23:23:57 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/aae89d529f4f9b798a53460a403e1fc7c2624ba4
Cr-Commit-Position: refs/heads/master@{#396311}

Powered by Google App Engine
This is Rietveld 408576698