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