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

Issue 2827163003: Remove ClassicPendingScript::CreateForTesting() (Closed)

Created:
3 years, 8 months ago by hiroshige
Modified:
3 years, 8 months ago
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ClassicPendingScript::CreateForTesting() This CL uses MockScriptElementBase instead of nullptr to create ClassicPendingScript, in order to remove ClassicPendingScript::CreateForTesting() and make |PendingScript::element_| always non-null when used. BUG=686281, 694702 Review-Url: https://codereview.chromium.org/2827163003 Cr-Commit-Position: refs/heads/master@{#466902} Committed: https://chromium.googlesource.com/chromium/src/+/3d792ae95a9b9e1efa7dfe380278182f94ac8755

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -24 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ClassicPendingScript.h View 1 2 3 chunks +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ClassicPendingScript.cpp View 1 2 3 chunks +4 lines, -12 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (19 generated)
hiroshige
PTAL.
3 years, 8 months ago (2017-04-19 23:47:51 UTC) #6
Nate Chapin
lgtm
3 years, 8 months ago (2017-04-21 18:22:22 UTC) #11
haraken
owner LGTM
3 years, 8 months ago (2017-04-21 19:15:19 UTC) #12
kouhei (in TOK)
lgtm
3 years, 8 months ago (2017-04-23 07:01:47 UTC) #15
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/2827163003/40001
3 years, 8 months ago (2017-04-25 06:34:50 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 06:38:51 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3d792ae95a9b9e1efa7dfe380278...

Powered by Google App Engine
This is Rietveld 408576698