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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCCertificate.h

Issue 1932173002: RTCCertificate equals method for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved equals test function to internals Created 4 years, 8 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/Source/modules/mediastream/RTCCertificate.h
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
index 2cfd63a473890d66fdd292e4f7fd706bec5e4c54..a3e155f6ef4f039d031d53d597f0da6c5b1ecd45 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
@@ -49,6 +49,7 @@ public:
// Returns a new WebRTCCertificate shallow copy.
std::unique_ptr<WebRTCCertificate> certificateShallowCopy() const;
+ const WebRTCCertificate& certificate() const { return *m_certificate; }
DEFINE_INLINE_TRACE() {}

Powered by Google App Engine
This is Rietveld 408576698