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

Issue 305743003: HTMLImportsController does not need to hold Document ptr. (Closed)

Created:
6 years, 6 months ago by dglazkov
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, webcomponents-bugzilla_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, rwlbuis
Visibility:
Public.

Description

HTMLImportsController does not need to hold Document ptr. Since it owns the HTMLImportTreeRoot, it can just ask it for the master document. Additionally, remove indirection plumbing that's just straightforward queries of master document. No changes in behavior, refactoring. R=morrita BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175214

Patch Set 1 #

Patch Set 2 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -37 lines) Patch
M Source/core/dom/DocumentInit.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/LinkResource.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.h View 1 2 chunks +1 line, -7 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.cpp View 1 4 chunks +12 lines, -24 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dglazkov
6 years, 6 months ago (2014-05-28 18:11:07 UTC) #1
dglazkov
Depends on https://codereview.chromium.org/305723004/.
6 years, 6 months ago (2014-05-28 18:11:37 UTC) #2
Hajime Morrita
lgtm.
6 years, 6 months ago (2014-05-28 20:32:16 UTC) #3
dglazkov
The CQ bit was checked by dglazkov@chromium.org
6 years, 6 months ago (2014-05-31 02:44:53 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/305743003/1
6 years, 6 months ago (2014-05-31 02:45:47 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 02:46:05 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/core/html/imports/HTMLImportsController.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-05-31 02:46:06 UTC) #7
dglazkov
The CQ bit was checked by dglazkov@chromium.org
6 years, 6 months ago (2014-06-01 03:43:51 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/305743003/20001
6 years, 6 months ago (2014-06-01 03:43:58 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-01 05:16:34 UTC) #10
Message was sent while issue was closed.
Change committed as 175214

Powered by Google App Engine
This is Rietveld 408576698