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

Issue 2779753008: Make CompositorObserver’s destructor protected-and-virtual.

Created:
3 years, 8 months ago by neptr
Modified:
3 years, 8 months ago
Reviewers:
danakj, ccameron
CC:
chromium-reviews, Ian Vollick, jbauman+watch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make CompositorObserver’s destructor protected-and-virtual. Typically all *Observers have their destructors protected and virtual, but CompositorObserver was not consistent with that. BUG=None

Patch Set 1 #

Patch Set 2 : Fix compilation #

Patch Set 3 : Fix compilation #

Total comments: 1

Patch Set 4 : Make destructor public instead of virtual. #

Patch Set 5 : Rebase on top of recent master to remove unwanted changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M content/browser/renderer_host/browser_compositor_view_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor_observer.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/test/draw_waiter_for_test.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (16 generated)
neptr
3 years, 8 months ago (2017-03-29 14:10:59 UTC) #4
danakj
virtual is good. I don't understand the protected part. LGTM but I'd rather it's public.
3 years, 8 months ago (2017-03-29 14:12:34 UTC) #5
neptr
On 2017/03/29 14:12:34, danakj wrote: > virtual is good. I don't understand the protected part. ...
3 years, 8 months ago (2017-03-29 14:14:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779753008/1
3 years, 8 months ago (2017-03-29 14:14:21 UTC) #8
commit-bot: I haz the power
The author neptr@yandex-team.ru has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
3 years, 8 months ago (2017-03-29 14:14:25 UTC) #10
danakj
On 2017/03/29 14:14:07, neptr wrote: > On 2017/03/29 14:12:34, danakj wrote: > > virtual is ...
3 years, 8 months ago (2017-03-29 14:20:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779753008/1
3 years, 8 months ago (2017-03-29 14:48:42 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/41963)
3 years, 8 months ago (2017-03-29 14:59:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779753008/20001
3 years, 8 months ago (2017-03-29 15:17:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779753008/40001
3 years, 8 months ago (2017-03-29 15:37:40 UTC) #21
neptr
Added ccameron to review the browser_compositor_view_mac.mm.
3 years, 8 months ago (2017-03-29 15:40:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/397584)
3 years, 8 months ago (2017-03-29 15:47:21 UTC) #25
ccameron
.mm lgtm
3 years, 8 months ago (2017-03-29 20:56:23 UTC) #26
danakj
https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/compositor_observer.h File ui/compositor/compositor_observer.h (right): https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/compositor_observer.h#newcode42 ui/compositor/compositor_observer.h:42: protected: Can you please make it public though?
3 years, 8 months ago (2017-03-29 21:35:49 UTC) #27
themblsha
On 2017/03/29 21:35:49, danakj wrote: > https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/compositor_observer.h#newcode42 > ui/compositor/compositor_observer.h:42: protected: > Can you please make ...
3 years, 8 months ago (2017-03-30 12:53:27 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779753008/80001
3 years, 8 months ago (2017-03-30 12:54:19 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 12:54:21 UTC) #33
The author neptr@yandex-team.ru has not signed Google Contributor License
Agreement. Please visit https://cla.developers.google.com to sign and manage
CLA.

Powered by Google App Engine
This is Rietveld 408576698