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

Issue 16276002: Clean up the initializer mess in Document. (Closed)

Created:
7 years, 6 months ago by dcheng
Modified:
7 years, 6 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Clean up the initializer mess in Document. Before this, some members were initialized in the initializer list and others were initialized in the body of the constructor. As far as I can tell, it's OK for everything to just be in the initializer list. As a bonus, I found two completely unused members in Document (and a local static) and removed them as well. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151593 R=abarth@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151695

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix logic error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -46 lines) Patch
M Source/core/dom/Document.h View 1 3 chunks +0 lines, -5 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 3 chunks +31 lines, -41 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dcheng
7 years, 6 months ago (2013-05-31 22:37:39 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/16276002/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/16276002/diff/1/Source/core/dom/Document.cpp#newcode477 Source/core/dom/Document.cpp:477: , m_textAutosizer(TextAutosizer::create(this)) I'd leave these in the body ...
7 years, 6 months ago (2013-05-31 22:47:58 UTC) #2
dcheng
https://codereview.chromium.org/16276002/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/16276002/diff/1/Source/core/dom/Document.cpp#newcode477 Source/core/dom/Document.cpp:477: , m_textAutosizer(TextAutosizer::create(this)) On 2013/05/31 22:47:58, abarth wrote: > I'd ...
7 years, 6 months ago (2013-05-31 22:54:53 UTC) #3
abarth-chromium
Ok. If you checked it, then it's probably ok.
7 years, 6 months ago (2013-05-31 23:00:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/16276002/1
7 years, 6 months ago (2013-05-31 23:17:15 UTC) #5
commit-bot: I haz the power
Change committed as 151593
7 years, 6 months ago (2013-06-01 03:05:06 UTC) #6
dcheng
PTAL. This patch was reverted due to a debug assert; it turns out I made ...
7 years, 6 months ago (2013-06-03 21:03:35 UTC) #7
abarth-chromium
lgtm
7 years, 6 months ago (2013-06-03 21:14:36 UTC) #8
dcheng
7 years, 6 months ago (2013-06-03 23:36:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r151695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698