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

Unified Diff: webrtc/modules/desktop_capture/desktop_frame_win.h

Issue 1678073003: Cleanup shared memory handling in DesktopCapturer interface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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/desktop_frame_win.h
diff --git a/webrtc/modules/desktop_capture/desktop_frame_win.h b/webrtc/modules/desktop_capture/desktop_frame_win.h
index 15b5883c36fa63642f7cf273b959fb39e6ea9425..fffaeab54e3fb098a1e34e924d882ae9144a78c2 100644
--- a/webrtc/modules/desktop_capture/desktop_frame_win.h
+++ b/webrtc/modules/desktop_capture/desktop_frame_win.h
@@ -25,7 +25,7 @@ class DesktopFrameWin : public DesktopFrame {
public:
virtual ~DesktopFrameWin();
static DesktopFrameWin* Create(DesktopSize size,
- SharedMemory* shared_memory,
+ SharedMemoryFactory* shared_memory_factory,
HDC hdc);
HBITMAP bitmap() { return bitmap_; }
@@ -34,7 +34,7 @@ class DesktopFrameWin : public DesktopFrame {
DesktopFrameWin(DesktopSize size,
int stride,
uint8_t* data,
- SharedMemory* shared_memory,
+ rtc::scoped_ptr<SharedMemory> shared_memory,
HBITMAP bitmap);
HBITMAP bitmap_;
« no previous file with comments | « webrtc/modules/desktop_capture/desktop_frame.cc ('k') | webrtc/modules/desktop_capture/desktop_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698