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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp

Issue 1928493002: Use url::Origin to represent security origins in MediaStream-related code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
index 1b4ecdb058ceacc9130b89847ee124eb5365d2e4..8e9b69b7b5d0feece7f9136c1330a7ed7059ca44 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
@@ -26,6 +26,7 @@
#include "public/platform/WebMediaStreamTrackSourcesRequest.h"
#include "platform/mediastream/MediaStreamTrackSourcesRequest.h"
+#include "platform/weborigin/SecurityOrigin.h"
#include "public/platform/WebSourceInfo.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
@@ -47,7 +48,7 @@ void WebMediaStreamTrackSourcesRequest::reset()
m_private.reset();
}
-WebString WebMediaStreamTrackSourcesRequest::origin() const
+WebSecurityOrigin WebMediaStreamTrackSourcesRequest::origin() const
{
ASSERT(m_private.get());
return m_private->origin();

Powered by Google App Engine
This is Rietveld 408576698