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

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed)

Created:
6 years, 7 months ago by tkent
Modified:
6 years, 7 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Visibility:
Public.

Description

Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. That is to say, WebNode::m_private should be based on Persistent<Node>. Because all of WebNode subclasses shares it, we need to change the classes so that they can be convertible to RawPtr instead of PassRefPtr. We need some #if ENABLE(OILPAN) because some WebCore functions still return PassRefPtrs. BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173622

Patch Set 1 #

Total comments: 15

Patch Set 2 : add FIXME comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -101 lines) Patch
M Source/web/ChromeClientImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebDocument.cpp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M Source/web/WebDocumentType.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebFormControlElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebFormElement.cpp View 1 2 chunks +14 lines, -4 lines 0 comments Download
M Source/web/WebInputElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebLabelElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebLeakDetector.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebNode.cpp View 1 2 chunks +11 lines, -4 lines 0 comments Download
M Source/web/WebOptionElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebPluginDocument.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebRange.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebSearchableFormData.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebSelectElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebSocketImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebTextAreaElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/tests/TextFinderTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/tests/TouchActionTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/web/tests/WebPageNewSerializerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebPageSerializerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebViewTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M public/platform/WebPrivatePtr.h View 1 chunk +0 lines, -9 lines 0 comments Download
M public/web/WebDocument.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebDocumentType.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebFormControlElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebFormElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebInputElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebLabelElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebNode.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebOptionElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebPluginDocument.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebSelectElement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebTextAreaElement.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tkent
Please review this.
6 years, 7 months ago (2014-05-08 06:10:54 UTC) #1
haraken
LGTM. https://codereview.chromium.org/270573008/diff/1/Source/web/WebDocument.cpp File Source/web/WebDocument.cpp (right): https://codereview.chromium.org/270573008/diff/1/Source/web/WebDocument.cpp#newcode257 Source/web/WebDocument.cpp:257: #if ENABLE(OILPAN) This can be removed once we ...
6 years, 7 months ago (2014-05-08 06:22:36 UTC) #2
wibling-chromium
lgtm https://codereview.chromium.org/270573008/diff/1/Source/web/WebFormElement.cpp File Source/web/WebFormElement.cpp (right): https://codereview.chromium.org/270573008/diff/1/Source/web/WebFormElement.cpp#newcode86 Source/web/WebFormElement.cpp:86: Vector<WebNode> tempVector2; Just to make sure i understand. ...
6 years, 7 months ago (2014-05-08 07:07:01 UTC) #3
Mads Ager (chromium)
lgtm2 https://codereview.chromium.org/270573008/diff/1/public/platform/WebPrivatePtr.h File public/platform/WebPrivatePtr.h (left): https://codereview.chromium.org/270573008/diff/1/public/platform/WebPrivatePtr.h#oldcode56 public/platform/WebPrivatePtr.h:56: typedef char TreeSharedType; Thanks! I should have removed ...
6 years, 7 months ago (2014-05-08 07:27:35 UTC) #4
tkent
https://codereview.chromium.org/270573008/diff/1/Source/web/WebDocument.cpp File Source/web/WebDocument.cpp (right): https://codereview.chromium.org/270573008/diff/1/Source/web/WebDocument.cpp#newcode257 Source/web/WebDocument.cpp:257: #if ENABLE(OILPAN) On 2014/05/08 06:22:37, haraken wrote: > > ...
6 years, 7 months ago (2014-05-08 07:39:30 UTC) #5
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 7 months ago (2014-05-08 07:47:17 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/270573008/20001
6 years, 7 months ago (2014-05-08 07:48:09 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 09:02:43 UTC) #8
Message was sent while issue was closed.
Change committed as 173622

Powered by Google App Engine
This is Rietveld 408576698