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

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed)

Created:
6 years, 6 months ago by tkent
Modified:
6 years, 6 months ago
CC:
blink-reviews, shans, webcomponents-bugzilla_chromium.org, eae+blinkwatch, fs, eric.carlson_apple.com, Steve Block, rwlbuis, krit, dstockwell, blink-reviews-html_chromium.org, Timothy Loh, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, pdr., Eric Willigers, nessy, rjwright, Mads Ager (chromium), sof, kouhei+svg_chromium.org, Raymond Toy, feature-media-reviews_chromium.org, gyuyoung.kim_webkit.org, darktears, haraken, Nate Chapin, vcarbune.chromium, philipj_slow, gavinp+prerender_chromium.org, blink-reviews-animation_chromium.org, gasubic, Mike Lawther (Google), ed+blinkwatch_opera.com, f(malita), Stephen Chennney, kouhei+heap_chromium.org
Visibility:
Public.

Description

Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. - Source/core/dom/Node.h Replace TreeSharedWillBeRefCountedGarbageCollected with TreeSharedWillBeGarbageCollectedFinalized. - Source/platform/heap/Handle.h Replace TreeSharedWillBeRefCountedGarbageCollected with TreeSharedWillBeGarbageCollectedFinalized. - public/platform/WebPrivatePtr.h Introduce PtrStorageImpl<T, GarbageCollectedLifetime>:: assign(const RawPtr<U>&) because matching RawPtr<U> value with assign(const RawPtr<T>&) and assign(T*) are ambiguous. Leftover RefPtr: - Source/core/dom/StyleEngine.cpp - Source/core/dom/StyleEngine.h - Source/core/fetch/FontResource.h Remove |using| directives for T::ref and T::deref if ENABLE(OILPAN) - Source/core/dom/Document.h - Source/core/html/HTMLFormControlElement.h - Source/core/html/HTMLObjectElement.h - Source/core/svg/SVGSVGElement.h - Source/core/svg/SVGViewElement.h Simple replacement of adoptRefWillBeRefCountedGarbageCollected: - Source/core/dom/Attr.cpp - Source/core/dom/CDATASection.cpp - Source/core/dom/Comment.cpp - Source/core/dom/Document.h - Source/core/dom/DocumentFragment.cpp - Source/core/dom/DocumentType.h - Source/core/dom/Element.cpp - Source/core/dom/Element.h - Source/core/dom/ProcessingInstruction.cpp - Source/core/dom/PseudoElement.h - Source/core/dom/TemplateContentDocumentFragment.h - Source/core/dom/Text.cpp - Source/core/dom/XMLDocument.h - Source/core/dom/shadow/ShadowRoot.h - Source/core/html/HTMLAnchorElement.cpp - Source/core/html/HTMLAppletElement.cpp - Source/core/html/HTMLAudioElement.cpp - Source/core/html/HTMLButtonElement.cpp - Source/core/html/HTMLDataListElement.cpp - Source/core/html/HTMLDetailsElement.cpp - Source/core/html/HTMLDocument.h - Source/core/html/HTMLEmbedElement.cpp - Source/core/html/HTMLFieldSetElement.cpp - Source/core/html/HTMLFormElement.cpp - Source/core/html/HTMLImageElement.cpp - Source/core/html/HTMLInputElement.cpp - Source/core/html/HTMLKeygenElement.cpp - Source/core/html/HTMLLinkElement.cpp - Source/core/html/HTMLMarqueeElement.cpp - Source/core/html/HTMLMeterElement.cpp - Source/core/html/HTMLObjectElement.cpp - Source/core/html/HTMLOptionElement.cpp - Source/core/html/HTMLOutputElement.cpp - Source/core/html/HTMLProgressElement.cpp - Source/core/html/HTMLScriptElement.cpp - Source/core/html/HTMLSelectElement.cpp - Source/core/html/HTMLStyleElement.cpp - Source/core/html/HTMLSummaryElement.cpp - Source/core/html/HTMLTextAreaElement.cpp - Source/core/html/HTMLUnknownElement.h - Source/core/html/HTMLVideoElement.cpp - Source/core/html/HTMLViewSourceDocument.h - Source/core/html/ImageDocument.h - Source/core/html/MediaDocument.h - Source/core/html/PluginDocument.h - Source/core/html/TextDocument.h - Source/core/html/forms/TextFieldInputType.cpp - Source/core/html/shadow/ClearButtonElement.cpp - Source/core/html/shadow/DateTimeEditElement.cpp - Source/core/html/shadow/DateTimeFieldElements.cpp - Source/core/html/shadow/DetailsMarkerControl.h - Source/core/html/shadow/MediaControlElements.cpp - Source/core/html/shadow/MediaControls.cpp - Source/core/html/shadow/MeterShadowElement.cpp - Source/core/html/shadow/PickerIndicatorElement.cpp - Source/core/html/shadow/SliderThumbElement.cpp - Source/core/html/shadow/SpinButtonElement.cpp - Source/core/html/shadow/TextControlInnerElements.cpp - Source/core/html/track/vtt/VTTCue.h - Source/core/html/track/vtt/VTTElement.cpp - Source/core/loader/SinkDocument.h - Source/core/svg/SVGAnimateElement.cpp - Source/core/svg/SVGScriptElement.cpp - Source/core/svg/SVGScriptElement.cpp - Source/core/svg/SVGUseElement.cpp BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176019

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Rebase and update Node base class list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -114 lines) Patch
M Source/core/dom/Attr.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/CDATASection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Comment.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/dom/DocumentFragment.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DocumentType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Element.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Element.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.h View 1 2 chunks +11 lines, -3 lines 0 comments Download
M Source/core/dom/ProcessingInstruction.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/PseudoElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/StyleEngine.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/TemplateContentDocumentFragment.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Text.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/XMLDocument.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/FontResource.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAnchorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAppletElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLAudioElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLButtonElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLDataListElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLDetailsElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLEmbedElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFieldSetElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFormControlElement.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLFormElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLImageElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLKeygenElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLLinkElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMarqueeElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMeterElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLObjectElement.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLObjectElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOptionElement.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLOutputElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLProgressElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLScriptElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLStyleElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLSummaryElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLTextAreaElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLUnknownElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLVideoElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLViewSourceDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ImageDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/MediaDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/PluginDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/TextDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/TextFieldInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/ClearButtonElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/DateTimeEditElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/DateTimeFieldElements.cpp View 13 chunks +13 lines, -13 lines 0 comments Download
M Source/core/html/shadow/DetailsMarkerControl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 13 chunks +13 lines, -13 lines 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/MeterShadowElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/shadow/PickerIndicatorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SliderThumbElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SpinButtonElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/TextControlInnerElements.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/track/vtt/VTTCue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/vtt/VTTElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/SinkDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGAnimateElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGSVGElement.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGScriptElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGStyleElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGViewElement.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M public/platform/WebPrivatePtr.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tkent
Please review this. This is large, but it's trivial. It depends on https://codereview.chromium.org/294053006/ and the ...
6 years, 6 months ago (2014-06-11 04:35:36 UTC) #1
haraken
We get here! LGTM. Let's land this after Ian lands the HTMLMediaElement change. https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h File ...
6 years, 6 months ago (2014-06-11 04:47:55 UTC) #2
haraken
https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h File Source/core/dom/Node.h (right): https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h#newcode110 Source/core/dom/Node.h:110: class Node : public EventTarget, public ScriptWrappable, public TreeSharedWillBeGarbageCollectedFinalized<Node> ...
6 years, 6 months ago (2014-06-11 04:59:04 UTC) #3
Mads Ager (chromium)
LGTM! :) https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h File Source/core/dom/Node.h (right): https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h#newcode110 Source/core/dom/Node.h:110: class Node : public EventTarget, public ScriptWrappable, ...
6 years, 6 months ago (2014-06-11 05:48:23 UTC) #4
tkent
https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h File Source/core/dom/Node.h (right): https://codereview.chromium.org/324073002/diff/40001/Source/core/dom/Node.h#newcode110 Source/core/dom/Node.h:110: class Node : public EventTarget, public ScriptWrappable, public TreeSharedWillBeGarbageCollectedFinalized<Node> ...
6 years, 6 months ago (2014-06-12 10:12:50 UTC) #5
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 6 months ago (2014-06-12 10:14:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/324073002/80001
6 years, 6 months ago (2014-06-12 10:15:40 UTC) #7
wibling-chromium
lgtm
6 years, 6 months ago (2014-06-12 10:39:56 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 11:20:34 UTC) #9
Message was sent while issue was closed.
Change committed as 176019

Powered by Google App Engine
This is Rietveld 408576698