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

Unified Diff: webrtc/modules/desktop_capture/win/dxgi_texture.cc

Issue 2436503004: Enable clang style plugin in webrtc/modules/desktop_capture (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/win/dxgi_texture.cc
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture.cc b/webrtc/modules/desktop_capture/win/dxgi_texture.cc
index 96c98363a0264a36e26ae4da2d3bd49980a12be2..c798631bdcbfbb23c4cb70def9b53fecf4dc93df 100644
--- a/webrtc/modules/desktop_capture/win/dxgi_texture.cc
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture.cc
@@ -24,7 +24,7 @@ class DxgiDesktopFrame : public DesktopFrame {
texture.bits(),
nullptr) {}
- virtual ~DxgiDesktopFrame() = default;
+ ~DxgiDesktopFrame() override = default;
};
} // namespace
@@ -32,6 +32,8 @@ class DxgiDesktopFrame : public DesktopFrame {
DxgiTexture::DxgiTexture(const DesktopRect& desktop_rect)
: desktop_rect_(desktop_rect) {}
+DxgiTexture::~DxgiTexture() {}
+
const DesktopFrame& DxgiTexture::AsDesktopFrame() {
if (!frame_) {
frame_.reset(new DxgiDesktopFrame(*this));
« no previous file with comments | « webrtc/modules/desktop_capture/win/dxgi_texture.h ('k') | webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698