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

Unified Diff: webrtc/base/sslfingerprint.h

Issue 1823503002: Reland Use CopyOnWriteBuffer instead of Buffer to avoid unnecessary copies. (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
Index: webrtc/base/sslfingerprint.h
diff --git a/webrtc/base/sslfingerprint.h b/webrtc/base/sslfingerprint.h
index 735238dde669d0154ad9d3738e3dd30b5b12a62b..1413a4cd2722765fa8e619c63264746367b5ba84 100644
--- a/webrtc/base/sslfingerprint.h
+++ b/webrtc/base/sslfingerprint.h
@@ -14,7 +14,7 @@
#include <string>
#include "webrtc/base/basictypes.h"
-#include "webrtc/base/buffer.h"
+#include "webrtc/base/copyonwritebuffer.h"
#include "webrtc/base/sslidentity.h"
namespace rtc {
@@ -44,7 +44,7 @@ struct SSLFingerprint {
std::string ToString();
std::string algorithm;
- rtc::Buffer digest;
+ rtc::CopyOnWriteBuffer digest;
};
} // namespace rtc

Powered by Google App Engine
This is Rietveld 408576698