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

Issue 206093005: Oilpan: move Console objects to the oilpan heap. (Closed)

Created:
6 years, 9 months ago by sof
Modified:
6 years, 9 months ago
CC:
blink-reviews, arv+blink, falken, Inactive, horo+watch_chromium.org, kinuko+watch, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move Console objects to the oilpan heap. Turn the ConsoleBase object into a garbage collected object if Oilpan is enabled, avoiding its ref forwarding to either Console or WorkerConsole. R=haraken@chromium.org,ager@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169670

Patch Set 1 #

Total comments: 5

Patch Set 2 : Make ~ConsoleBase public #

Patch Set 3 : Have ConsoleBase simply derive from 'RefCountedWillBeGarbageCollectedFinalized' #

Total comments: 2

Patch Set 4 : Make ConsoleBase::trace() a pure virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -27 lines) Patch
M Source/core/frame/Console.h View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/frame/ConsoleBase.h View 1 2 3 3 chunks +6 lines, -8 lines 0 comments Download
M Source/core/frame/ConsoleBase.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/DOMWindow.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerConsole.h View 1 2 3 2 chunks +2 lines, -8 lines 0 comments Download
M Source/core/workers/WorkerConsole.idl View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sof
Please take a look. Disabling the ref-forwarding machinery isn't pretty, but I don't think we ...
6 years, 9 months ago (2014-03-20 14:09:21 UTC) #1
haraken
LGTM https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h File Source/core/frame/ConsoleBase.h (right): https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h#newcode83 Source/core/frame/ConsoleBase.h:83: #endif I'd just remove protected: and make the ...
6 years, 9 months ago (2014-03-20 14:13:06 UTC) #2
Mads Ager (chromium)
https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h File Source/core/frame/ConsoleBase.h (right): https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h#newcode51 Source/core/frame/ConsoleBase.h:51: void ref() { refConsole(); } WAT!?! What is this, ...
6 years, 9 months ago (2014-03-20 14:20:00 UTC) #3
sof
https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h File Source/core/frame/ConsoleBase.h (right): https://codereview.chromium.org/206093005/diff/1/Source/core/frame/ConsoleBase.h#newcode51 Source/core/frame/ConsoleBase.h:51: void ref() { refConsole(); } On 2014/03/20 14:20:01, Mads ...
6 years, 9 months ago (2014-03-20 14:57:23 UTC) #4
Mads Ager (chromium)
LGTM!!! https://codereview.chromium.org/206093005/diff/40001/Source/core/frame/ConsoleBase.h File Source/core/frame/ConsoleBase.h (right): https://codereview.chromium.org/206093005/diff/40001/Source/core/frame/ConsoleBase.h#newcode74 Source/core/frame/ConsoleBase.h:74: virtual void trace(Visitor*) { } You could make ...
6 years, 9 months ago (2014-03-20 15:00:30 UTC) #5
sof
https://codereview.chromium.org/206093005/diff/40001/Source/core/frame/ConsoleBase.h File Source/core/frame/ConsoleBase.h (right): https://codereview.chromium.org/206093005/diff/40001/Source/core/frame/ConsoleBase.h#newcode74 Source/core/frame/ConsoleBase.h:74: virtual void trace(Visitor*) { } On 2014/03/20 15:00:31, Mads ...
6 years, 9 months ago (2014-03-20 15:13:54 UTC) #6
sof
haraken: happy with the resulting simplifications? :)
6 years, 9 months ago (2014-03-20 15:50:46 UTC) #7
haraken
On 2014/03/20 15:50:46, sof wrote: > haraken: happy with the resulting simplifications? :) Yes, looking ...
6 years, 9 months ago (2014-03-20 16:39:13 UTC) #8
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-20 16:41:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/206093005/60001
6 years, 9 months ago (2014-03-20 16:41:28 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 17:48:08 UTC) #11
Message was sent while issue was closed.
Change committed as 169670

Powered by Google App Engine
This is Rietveld 408576698