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

Unified Diff: webrtc/base/buffer.h

Issue 1778243006: Remove the (previosly deprecated) Pass methods (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | webrtc/base/buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/buffer.h
diff --git a/webrtc/base/buffer.h b/webrtc/base/buffer.h
index e9c47ee84e02168b6df52bb5c071613c1c9a9067..681348d91048a16c8122339c41a1315e18528a0a 100644
--- a/webrtc/base/buffer.h
+++ b/webrtc/base/buffer.h
@@ -18,7 +18,6 @@
#include "webrtc/base/array_view.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/constructormagic.h"
-#include "webrtc/base/deprecation.h"
namespace rtc {
@@ -229,15 +228,6 @@ class Buffer {
RTC_DCHECK(IsConsistent());
}
- // b.Pass() does the same thing as std::move(b).
- // Deprecated; remove in March 2016 (bug 5373).
- RTC_DEPRECATED Buffer&& Pass() { return DEPRECATED_Pass(); }
-
- Buffer&& DEPRECATED_Pass() {
- RTC_DCHECK(IsConsistent());
- return std::move(*this);
- }
-
// Resets the buffer to zero size without altering capacity. Works even if the
// buffer has been moved from.
void Clear() {
« no previous file with comments | « no previous file | webrtc/base/buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698