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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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: content/renderer/media/rtc_peer_connection_handler.h
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h
index bd58e2df54dd4ef4f36cefc9e4466efcf8ac8508..77de858f989e66e1acfde04192eb642d4240c5ac 100644
--- a/content/renderer/media/rtc_peer_connection_handler.h
+++ b/content/renderer/media/rtc_peer_connection_handler.h
@@ -29,7 +29,7 @@
#include "third_party/WebKit/public/platform/WebRTCStatsResponse.h"
namespace blink {
-class WebFrame;
+class WebLocalFrame;
class WebRTCAnswerOptions;
class WebRTCDataChannelHandler;
class WebRTCLegacyStats;
@@ -102,7 +102,7 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
// Destroy all existing RTCPeerConnectionHandler objects.
static void DestructAllHandlers();
- void associateWithFrame(blink::WebFrame* frame);
+ void associateWithFrame(blink::WebLocalFrame* frame);
// Initialize method only used for unit test.
bool InitializeForTest(
@@ -252,7 +252,7 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
// RenderThreadImpl.
PeerConnectionDependencyFactory* const dependency_factory_;
- blink::WebFrame* frame_ = nullptr;
+ blink::WebLocalFrame* frame_ = nullptr;
// Map and owners of track adapters. Every track that is in use by the peer
// connection has an associated blink and webrtc layer representation of it.
« no previous file with comments | « content/renderer/media/peer_connection_tracker.cc ('k') | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698