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

Issue 464043002: Refactor module initialization. (Closed)

Created:
6 years, 4 months ago by cmumford
Modified:
6 years, 4 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Refactor module initialization. Previous implementation had three CoreInitializer methods: initEventNames, initEventTargetNames, and initBindings, which were never called, and ModulesInitializer contained identically named methods which were a superset of the base class implementation. This change removes duplication and separates core and modules initialization for a cleaner implementation. This change doesn't fix 393728, but is a necessary refactoring for the actual fix. BUG=393728 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180130

Patch Set 1 #

Total comments: 6

Patch Set 2 : Removed one-line functions and added isInitialized #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -47 lines) Patch
M Source/core/Init.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/Init.cpp View 1 4 chunks +3 lines, -15 lines 0 comments Download
M Source/modules/InitModules.h View 1 1 chunk +1 line, -10 lines 1 comment Download
M Source/modules/InitModules.cpp View 1 1 chunk +8 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
cmumford
PTAL. Downstream CL is https://codereview.chromium.org/426063010/
6 years, 4 months ago (2014-08-12 21:35:12 UTC) #1
abarth-chromium
LGTM https://codereview.chromium.org/464043002/diff/1/Source/core/Init.h File Source/core/Init.h (right): https://codereview.chromium.org/464043002/diff/1/Source/core/Init.h#newcode51 Source/core/Init.h:51: bool m_isInited; Can we make a protected getter ...
6 years, 4 months ago (2014-08-12 21:42:56 UTC) #2
cmumford
abarth: Being that I made two extra changes, 1) deleting single-line CoreInitializer methods and 2) ...
6 years, 4 months ago (2014-08-12 22:26:36 UTC) #3
abarth-chromium
Looks great! LGTM. Thanks!
6 years, 4 months ago (2014-08-12 23:36:16 UTC) #4
cmumford
The CQ bit was checked by cmumford@chromium.org
6 years, 4 months ago (2014-08-12 23:50:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cmumford@chromium.org/464043002/20001
6 years, 4 months ago (2014-08-12 23:52:30 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-13 00:51:11 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 01:21:34 UTC) #8
Message was sent while issue was closed.
Change committed as 180130

Powered by Google App Engine
This is Rietveld 408576698