|
|
Chromium Code Reviews
DescriptionMake 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. #
Messages
Total messages: 33 (16 generated)
Description was changed from ========== # Enter a description of the change. 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 ========== to ========== Typically all *Observers have their destructors protected and virtual, but CompositorObserver was not consistent with that. BUG=None ==========
neptr@yandex-team.ru changed reviewers: + danakj@chromium.org
Description was changed from ========== Typically all *Observers have their destructors protected and virtual, but CompositorObserver was not consistent with that. BUG=None ========== to ========== 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 ==========
virtual is good. I don't understand the protected part. LGTM but I'd rather it's public.
On 2017/03/29 14:12:34, danakj wrote: > virtual is good. I don't understand the protected part. LGTM but I'd rather it's > public. All other observers are protected, so it seems more safe unless it breaks compilation (which was fine locally).
The CQ bit was checked by neptr@yandex-team.ru
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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.
On 2017/03/29 14:14:07, neptr wrote: > On 2017/03/29 14:12:34, danakj wrote: > > virtual is good. I don't understand the protected part. LGTM but I'd rather > it's > > public. > > All other observers are protected, so it seems more safe unless it breaks > compilation (which was fine locally). I don't think it's more safe. It's fine if someone wants to delete the object by the base class, it imposes unneeded restrictions on other code.
The CQ bit was checked by neptr@yandex-team.ru
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by neptr@yandex-team.ru
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org Link to the patchset: https://codereview.chromium.org/2779753008/#ps20001 (title: "Fix compilation")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by neptr@yandex-team.ru
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org Link to the patchset: https://codereview.chromium.org/2779753008/#ps40001 (title: "Fix compilation")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
neptr@yandex-team.ru changed reviewers: + ccameron@chromium.org
Added ccameron to review the browser_compositor_view_mac.mm.
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...)
.mm lgtm
https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/composito... File ui/compositor/compositor_observer.h (right): https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/composito... ui/compositor/compositor_observer.h:42: protected: Can you please make it public though?
On 2017/03/29 21:35:49, danakj wrote: > https://codereview.chromium.org/2779753008/diff/40001/ui/compositor/composito... > ui/compositor/compositor_observer.h:42: protected: > Can you please make it public though? Done!
The CQ bit was checked by neptr@yandex-team.ru
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org, ccameron@chromium.org Link to the patchset: https://codereview.chromium.org/2779753008/#ps80001 (title: "Rebase on top of recent master to remove unwanted changes.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
