Index: webrtc/modules/desktop_capture/x11/shared_x_display.h |
diff --git a/webrtc/modules/desktop_capture/x11/shared_x_display.h b/webrtc/modules/desktop_capture/x11/shared_x_display.h |
index 81b5ef6606a2e247ae662b90fecbcf8245ca806c..11c5bf4482fdb9d56383fe5930eae98cf17b0a52 100644 |
--- a/webrtc/modules/desktop_capture/x11/shared_x_display.h |
+++ b/webrtc/modules/desktop_capture/x11/shared_x_display.h |
@@ -19,8 +19,8 @@ |
#include <string> |
+#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/system_wrappers/interface/atomic32.h" |
-#include "webrtc/system_wrappers/interface/scoped_refptr.h" |
namespace webrtc { |
@@ -41,11 +41,12 @@ class SharedXDisplay { |
// Creates a new X11 Display for the |display_name|. NULL is returned if X11 |
// connection failed. Equivalent to CreateDefault() when |display_name| is |
// empty. |
- static scoped_refptr<SharedXDisplay> Create(const std::string& display_name); |
+ static rtc::scoped_refptr<SharedXDisplay> Create( |
+ const std::string& display_name); |
// Creates X11 Display connection for the default display (e.g. specified in |
// DISPLAY). NULL is returned if X11 connection failed. |
- static scoped_refptr<SharedXDisplay> CreateDefault(); |
+ static rtc::scoped_refptr<SharedXDisplay> CreateDefault(); |
void AddRef() { ++ref_count_; } |
void Release() { |