Description[Ozone-Dri] Make GbmWrapper destructor private
It fixes the following clang format:
In file included from ../../ui/ozone/platform/dri/gbm_surface.cc:14:
../../ui/ozone/platform/dri/gbm_wrapper.h:18:3: error: [chromium-style] Classes that are ref-counted should have destructors that are declared protected or private.
~GbmWrapper() override;
^
../../ui/ozone/platform/dri/gbm_wrapper.h:14:20: note: [chromium-style] 'GbmWrapper' inherits from 'ui::DriWrapper' here
class GbmWrapper : public DriWrapper {
^
../../ui/ozone/platform/dri/dri_wrapper.h:41:33: note: [chromium-style] 'DriWrapper' inherits from 'base::RefCountedThreadSafe<DriWrapper>' here
class OZONE_EXPORT DriWrapper : public base::RefCountedThreadSafe<DriWrapper> {
^
BUG=none
Committed: https://crrev.com/34108a53235e8c61d625ad80db7941edf1684084
Cr-Commit-Position: refs/heads/master@{#317300}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|