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

Issue 299313013: Remove indirection plumbing from HTMLImportChild. (Closed)

Created:
6 years, 6 months ago by dglazkov
Modified:
6 years, 6 months ago
Reviewers:
Hajime Morrita
CC:
blink-reviews, blink-reviews-html_chromium.org, webcomponents-bugzilla_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, rwlbuis
Visibility:
Public.

Description

Remove indirection plumbing from HTMLImportChild. The indirection plumbing obscures what is really happening at the callsites and should be removed. Also, strengthen up the assertions, since now HTMLImportChild has HTMLImportLoader for (observable) life. R=morrita@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175244

Patch Set 1 #

Patch Set 2 : Fix spurious reorders. #

Patch Set 3 : Removed unneded check for import. #

Patch Set 4 : Removed remaining checks for m_loader zeroeness. Let's crash! #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -29 lines) Patch
M Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/imports/HTMLImportChild.h View 2 chunks +1 line, -4 lines 0 comments Download
M Source/core/html/imports/HTMLImportChild.cpp View 1 2 3 4 2 chunks +13 lines, -19 lines 0 comments Download
M Source/core/html/imports/HTMLImportStateResolver.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/imports/LinkImport.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
dglazkov
6 years, 6 months ago (2014-05-28 20:41:44 UTC) #1
dglazkov
PTAL, I replaced a bunch of 0-checks with ASSERTS. Crashing is more exciting, I think.
6 years, 6 months ago (2014-05-28 21:00:15 UTC) #2
Hajime Morrita
lgtm. On 2014/05/28 21:00:15, dglazkov wrote: > PTAL, I replaced a bunch of 0-checks with ...
6 years, 6 months ago (2014-05-28 21:21:57 UTC) #3
dglazkov
The CQ bit was checked by dglazkov@chromium.org
6 years, 6 months ago (2014-06-01 21:53:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dglazkov@chromium.org/299313013/60001
6 years, 6 months ago (2014-06-01 21:53:30 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-01 21:53:36 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/core/html/imports/HTMLImportChild.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-01 21:53:36 UTC) #7
dglazkov
The CQ bit was checked by dglazkov@chromium.org
6 years, 6 months ago (2014-06-01 23:02:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dglazkov@chromium.org/299313013/80001
6 years, 6 months ago (2014-06-01 23:02:32 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-01 23:47:04 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-01 23:47:21 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/12727)
6 years, 6 months ago (2014-06-01 23:47:21 UTC) #12
dglazkov
The CQ bit was checked by dglazkov@chromium.org
6 years, 6 months ago (2014-06-02 00:24:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dglazkov@chromium.org/299313013/80001
6 years, 6 months ago (2014-06-02 00:24:50 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-02 01:37:49 UTC) #15
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 02:24:27 UTC) #16
Message was sent while issue was closed.
Change committed as 175244

Powered by Google App Engine
This is Rietveld 408576698