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

Issue 2041013004: HTMLDocumentParser: Dedupe member inits by moving them into in-class init (Closed)

Created:
4 years, 6 months ago by kouhei (in TOK)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HTMLDocumentParser: Dedupe member inits by moving them into in-class init BUG=None Committed: https://crrev.com/630d84f64ee2f1d54d2627828f1ee593e85e2327 Cr-Commit-Position: refs/heads/master@{#403876}

Patch Set 1 #

Total comments: 4

Patch Set 2 : use delegating ctor #

Total comments: 5

Patch Set 3 : no scriptrunner in fragment parser #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -27 lines) Patch
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 2 chunks +20 lines, -27 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
kouhei (in TOK)
4 years, 6 months ago (2016-06-08 05:49:46 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041013004/1
4 years, 6 months ago (2016-06-08 05:50:00 UTC) #5
sof
https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h (right): https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h#newcode195 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h:195: OwnPtr<WebTaskRunner> m_loadingTaskRunner = adoptPtr(document()->loadingTaskRunner()->clone()); Is having non-const, dependent on ...
4 years, 6 months ago (2016-06-08 06:02:04 UTC) #6
kouhei (in TOK)
https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h (right): https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h#newcode195 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h:195: OwnPtr<WebTaskRunner> m_loadingTaskRunner = adoptPtr(document()->loadingTaskRunner()->clone()); On 2016/06/08 06:02:04, sof wrote: ...
4 years, 6 months ago (2016-06-08 06:07:17 UTC) #7
kouhei (in TOK)
+yutak for more discussion
4 years, 6 months ago (2016-06-08 06:09:05 UTC) #10
sof
https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h (right): https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h#newcode195 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h:195: OwnPtr<WebTaskRunner> m_loadingTaskRunner = adoptPtr(document()->loadingTaskRunner()->clone()); On 2016/06/08 06:07:17, kouhei wrote: ...
4 years, 6 months ago (2016-06-08 06:40:24 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 06:59:18 UTC) #14
Yoav Weiss
https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h (right): https://codereview.chromium.org/2041013004/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h#newcode195 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h:195: OwnPtr<WebTaskRunner> m_loadingTaskRunner = adoptPtr(document()->loadingTaskRunner()->clone()); On 2016/06/08 06:40:24, sof wrote: ...
4 years, 6 months ago (2016-06-08 08:43:27 UTC) #15
kouhei (in TOK)
ptal
4 years, 5 months ago (2016-07-05 07:45:53 UTC) #16
tzik
https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode112 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:112: , m_scriptRunner(scriptingContentIsAllowed(contentPolicy) ? HTMLScriptRunner::create(&document, this) : nullptr) # As ...
4 years, 5 months ago (2016-07-05 07:59:09 UTC) #17
kouhei (in TOK)
On 2016/07/05 07:59:09, tzik wrote: > https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp > File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): > > https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode112 > ...
4 years, 5 months ago (2016-07-05 08:15:02 UTC) #18
Yoav Weiss
https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode94 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:94: m_treeBuilder = HTMLTreeBuilder::create(this, &document, AllowScriptingContent, m_options); Doesn't this mean ...
4 years, 5 months ago (2016-07-05 08:20:14 UTC) #19
tzik
lgtm
4 years, 5 months ago (2016-07-05 12:05:12 UTC) #20
kouhei (in TOK)
https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode94 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:94: m_treeBuilder = HTMLTreeBuilder::create(this, &document, AllowScriptingContent, m_options); On 2016/07/05 08:20:14, ...
4 years, 5 months ago (2016-07-06 00:49:54 UTC) #21
Yoav Weiss
On 2016/07/06 00:49:54, kouhei wrote: > https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp > File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): > > https://codereview.chromium.org/2041013004/diff/20001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode94 > ...
4 years, 5 months ago (2016-07-06 07:51:21 UTC) #22
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/2041013004/40001
4 years, 5 months ago (2016-07-06 08:18:53 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 09:44:39 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 09:44:43 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 09:47:37 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/630d84f64ee2f1d54d2627828f1ee593e85e2327
Cr-Commit-Position: refs/heads/master@{#403876}

Powered by Google App Engine
This is Rietveld 408576698