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

Unified Diff: third_party/WebKit/public/platform/WebRTCCertificate.h

Issue 1804563002: Refactor WebRTC certificate generation to use WebPassOwnPtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: third_party/WebKit/public/platform/WebRTCCertificate.h
diff --git a/third_party/WebKit/public/platform/WebRTCCertificate.h b/third_party/WebKit/public/platform/WebRTCCertificate.h
index 13a535d84c5fe28c30038766283135aa03c8467a..4480acf521ecef329ed30c0ac13f8ee95f93db8b 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificate.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificate.h
@@ -5,6 +5,7 @@
#ifndef WebRTCCertificate_h
#define WebRTCCertificate_h
+#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebRTCKeyParams.h"
namespace blink {
@@ -22,7 +23,7 @@ public:
// Copies the WebRTCCertificate object without copying the underlying implementation
// specific (WebRTC layer) certificate. When all copies are destroyed the underlying
// data is freed.
- virtual WebRTCCertificate* shallowCopy() const = 0;
+ virtual WebPassOwnPtr<WebRTCCertificate> shallowCopy() const = 0;
virtual const WebRTCKeyParams& keyParams() const = 0;

Powered by Google App Engine
This is Rietveld 408576698