webrtc/modules/desktop_capture
Karl Wiberg 918f50c5d1 Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.

This CL was generated by the following script:

  git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
  git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
  git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
  git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
  git cl format

Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.

Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 10:59:49 +00:00
..
mac Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
win Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
x11 Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
blank_detector_desktop_capturer_wrapper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
blank_detector_desktop_capturer_wrapper.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
blank_detector_desktop_capturer_wrapper_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
BUILD.gn Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
capture_result_desktop_capturer_wrapper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
capture_result_desktop_capturer_wrapper.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
cropped_desktop_frame.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cropped_desktop_frame.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
cropped_desktop_frame_unittest.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
cropping_window_capturer.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
cropping_window_capturer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
cropping_window_capturer_win.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
DEPS Can use the given IOSurfaceRef to reach higher capture framerate on Mac 2018-04-10 00:37:59 +00:00
desktop_and_cursor_composer.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
desktop_and_cursor_composer.h [desktopCapture] clean up relative positon processing 2018-03-29 19:00:58 +00:00
desktop_and_cursor_composer_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_capture_options.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_capture_options.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_capture_types.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_capturer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_capturer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_capturer_differ_wrapper.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_capturer_differ_wrapper.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_capturer_differ_wrapper_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_capturer_wrapper.cc Implement DesktopCapturerWrapper and CaptureResultDesktopCapturerWrapper 2017-09-15 18:56:26 +00:00
desktop_capturer_wrapper.h Implement DesktopCapturerWrapper and CaptureResultDesktopCapturerWrapper 2017-09-15 18:56:26 +00:00
desktop_frame.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
desktop_frame.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_frame_generator.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_frame_generator.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_frame_rotation.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_frame_rotation.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_frame_rotation_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_frame_win.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_frame_win.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_geometry.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_geometry.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_geometry_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
desktop_region.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_region.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
desktop_region_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
differ_block.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
differ_block.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
differ_block_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
differ_vector_sse2.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
differ_vector_sse2.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
fake_desktop_capturer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
fake_desktop_capturer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fallback_desktop_capturer_wrapper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fallback_desktop_capturer_wrapper.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fallback_desktop_capturer_wrapper_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mock_desktop_capturer_callback.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_desktop_capturer_callback.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mouse_cursor.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mouse_cursor.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mouse_cursor_monitor.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mouse_cursor_monitor_mac.mm Reland "[desktopCapture] Unify the position info in DIP coordinates on Mac." 2018-05-17 18:45:42 +00:00
mouse_cursor_monitor_null.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mouse_cursor_monitor_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mouse_cursor_monitor_win.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
mouse_cursor_monitor_x11.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
resolution_tracker.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
resolution_tracker.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rgba_color.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
rgba_color.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rgba_color_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
screen_capture_frame_queue.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_darwin.mm Can use the given IOSurfaceRef to reach higher capture framerate on Mac 2018-04-10 00:37:59 +00:00
screen_capturer_helper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_helper.h Move rw_lock_wrapper.h to rtc_base/synchronization/ 2018-03-23 19:47:08 +00:00
screen_capturer_helper_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_integration_test.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_mac_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_null.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
screen_capturer_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_win.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_capturer_x11.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_drawer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
screen_drawer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
screen_drawer_linux.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
screen_drawer_lock_posix.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
screen_drawer_lock_posix.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
screen_drawer_mac.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
screen_drawer_unittest.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
screen_drawer_win.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
shared_desktop_frame.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
shared_desktop_frame.h Add explicit includes of refcountedobject.h where it is used. 2017-10-06 13:00:14 +00:00
shared_memory.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
shared_memory.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
test_utils.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
test_utils.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
test_utils_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
window_capturer_mac.mm Reland "[desktopCapture] Unify the position info in DIP coordinates on Mac." 2018-05-17 18:45:42 +00:00
window_capturer_null.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
window_capturer_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
window_capturer_win.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
window_capturer_x11.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
window_finder.cc [Window Capturer] Implement scaling in GetWindowBounds() 2017-11-07 01:49:35 +00:00
window_finder.h [Window Capturer] Implement scaling in GetWindowBounds() 2017-11-07 01:49:35 +00:00
window_finder_mac.h [Window Capturer] Implement scaling in GetWindowBounds() 2017-11-07 01:49:35 +00:00
window_finder_mac.mm Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
window_finder_unittest.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
window_finder_win.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
window_finder_win.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
window_finder_x11.cc Use absl::make_unique and absl::WrapUnique directly 2018-07-05 10:59:49 +00:00
window_finder_x11.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00