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

Issue 1060813005: Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined. (Closed)

Created:
5 years, 8 months ago by tasak
Modified:
5 years, 8 months ago
Reviewers:
haraken
CC:
blink-reviews, tzik, eae+blinkwatch, eric.carlson_apple.com, kinuko+worker_chromium.org, rwlbuis, Yoav Weiss, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, gyuyoung2, sof, philipj_slow, nhiroki, feature-media-reviews_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, gavinp+prerender_chromium.org, mlamouri+watch-blink_chromium.org, falken, mvanouwerkerk+watch_chromium.org, horo+watch_chromium.org, kinuko+fileapi
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined. After making SupplementTracing<false> visible, we will see: - blink::Supplement<class blink::Page>::Supplement<class blink::Page>(void) already defined. - blink::SupplementableBase<class blink::Document,0>::provideSupplement(...) already defined To solve the above problem, - add "extern template class WillBeHeapSupplement<Page>" to Page.h. - add "extern template class WillBeHeapSupplement<Document>" to Document.h The Supplements are instantiated in Page.cpp and Document.cpp. BUG=358074 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194208

Patch Set 1 : WIP #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : DOMWindowStorageController.h should include Document.h #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -107 lines) Patch
M Source/core/dom/CSSSelectorWatch.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/CSSSelectorWatch.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/ContextFeatures.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/DocumentSupplementable.h View 1 2 3 1 chunk +0 lines, -42 lines 0 comments Download
M Source/core/dom/Fullscreen.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Fullscreen.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/imports/HTMLImportsController.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/loader/PrerendererClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/Page.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/page/Page.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/testing/InternalSettings.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/WorkerGlobalScopeProxyProvider.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.h View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.cpp View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M Source/core/xml/DocumentXSLT.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/xml/DocumentXSLT.cpp View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/credentialmanager/CredentialManagerClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/device_light/DeviceLightController.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/device_light/DeviceLightController.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/navigatorcontentutils/NavigatorContentUtils.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/quota/StorageQuotaClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerClient.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/storage/DOMWindowStorageController.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/storage/DOMWindowStorageController.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webdatabase/DatabaseClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/Supplementable.h View 2 chunks +2 lines, -1 line 0 comments Download
A Source/platform/Supplementable.cpp View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ContextFeaturesClientImpl.cpp View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
tasak
PTAL? https://codereview.chromium.org/1060813005/diff/20001/Source/core/core.gypi File Source/core/core.gypi (right): https://codereview.chromium.org/1060813005/diff/20001/Source/core/core.gypi#newcode2207 Source/core/core.gypi:2207: 'dom/DocumentSupplementable.h', Added missing dom/DocumentSupplementable.h. https://codereview.chromium.org/1060813005/diff/20001/Source/core/dom/DocumentSupplementable.h File Source/core/dom/DocumentSupplementable.h (right): ...
5 years, 8 months ago (2015-04-22 03:14:48 UTC) #2
haraken
Just help me understand: Why do we need the extern declaration only for PageSupplementable and ...
5 years, 8 months ago (2015-04-22 05:26:53 UTC) #3
tasak
Thank you for review. > Why do we need the extern declaration only for PageSupplementable ...
5 years, 8 months ago (2015-04-22 06:59:37 UTC) #4
haraken
https://codereview.chromium.org/1060813005/diff/80001/Source/core/page/Page.cpp File Source/core/page/Page.cpp (right): https://codereview.chromium.org/1060813005/diff/80001/Source/core/page/Page.cpp#newcode607 Source/core/page/Page.cpp:607: template class Supplement<Page>; Can we use: template class WillBeHeapSupplement<Page>; ...
5 years, 8 months ago (2015-04-22 09:19:44 UTC) #5
tasak
https://codereview.chromium.org/1060813005/diff/80001/Source/core/page/Page.cpp File Source/core/page/Page.cpp (right): https://codereview.chromium.org/1060813005/diff/80001/Source/core/page/Page.cpp#newcode607 Source/core/page/Page.cpp:607: template class Supplement<Page>; On 2015/04/22 09:19:43, haraken wrote: > ...
5 years, 8 months ago (2015-04-22 10:22:21 UTC) #6
haraken
LGTM You'll need to remove DocumentSupplementable.h from core.gypi.
5 years, 8 months ago (2015-04-22 10:41:55 UTC) #7
tasak
Thank you for review. On 2015/04/22 10:41:55, haraken wrote: > LGTM > > You'll need ...
5 years, 8 months ago (2015-04-22 11:04:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1060813005/100001
5 years, 8 months ago (2015-04-22 11:04:55 UTC) #10
commit-bot: I haz the power
5 years, 8 months ago (2015-04-22 11:43:57 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194208

Powered by Google App Engine
This is Rietveld 408576698