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

Unified Diff: webrtc/modules/desktop_capture/screen_capturer_mac.mm

Issue 1152733005: Use one scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove from BUILD.gn Created 5 years, 7 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/screen_capturer_mac.mm
diff --git a/webrtc/modules/desktop_capture/screen_capturer_mac.mm b/webrtc/modules/desktop_capture/screen_capturer_mac.mm
index 93e9a6fafb014ea34ed8339308438d6c441d7364..ceb078145d23175d7e84b2be3fbe92d2ea77d1b7 100644
--- a/webrtc/modules/desktop_capture/screen_capturer_mac.mm
+++ b/webrtc/modules/desktop_capture/screen_capturer_mac.mm
@@ -190,7 +190,7 @@ CGImageRef CreateExcludedWindowRegionImage(const DesktopRect& pixel_bounds,
class ScreenCapturerMac : public ScreenCapturer {
public:
explicit ScreenCapturerMac(
- scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor);
+ rtc::scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor);
virtual ~ScreenCapturerMac();
bool Init();
@@ -262,7 +262,7 @@ class ScreenCapturerMac : public ScreenCapturer {
DesktopRegion last_invalid_region_;
// Monitoring display reconfiguration.
- scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor_;
+ rtc::scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor_;
// Power management assertion to prevent the screen from sleeping.
IOPMAssertionID power_assertion_id_display_;
@@ -307,7 +307,7 @@ class InvertedDesktopFrame : public DesktopFrame {
};
ScreenCapturerMac::ScreenCapturerMac(
- scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor)
+ rtc::scoped_refptr<DesktopConfigurationMonitor> desktop_config_monitor)
: callback_(NULL),
cgl_context_(NULL),
current_display_(0),
« no previous file with comments | « webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc ('k') | webrtc/modules/desktop_capture/shared_desktop_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698