Index: webrtc/modules/desktop_capture/cropping_window_capturer.h |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
index e0f598c7ea02a1e83e6547b549e2bc7bd25285b7..af456e59a30536ddb5dc59fdccecc75e77cc4367 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.h |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
@@ -29,6 +29,8 @@ class CroppingWindowCapturer : public WindowCapturer, |
// DesktopCapturer implementation. |
void Start(DesktopCapturer::Callback* callback) override; |
+ void SetSharedMemoryFactory( |
+ rtc::scoped_ptr<SharedMemoryFactory> shared_memory_factory) override; |
void Capture(const DesktopRegion& region) override; |
void SetExcludedWindow(WindowId window) override; |
@@ -39,7 +41,6 @@ class CroppingWindowCapturer : public WindowCapturer, |
// DesktopCapturer::Callback implementation, passed to |screen_capturer_| to |
// intercept the capture result. |
- SharedMemory* CreateSharedMemory(size_t size) override; |
void OnCaptureCompleted(DesktopFrame* frame) override; |
protected: |