Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index efeb1e3979d593c4af84b00c2c668e76c7af3bd9..2c5a5fddc96bddbc4cc7b8a8de2239fb06ad0c7d 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -1948,6 +1948,13 @@ RenderThreadImpl::GetPeerConnectionDependencyFactory() { |
} |
#endif |
+mojom::RenderFrameMessageFilter* |
+RenderThreadImpl::render_frame_message_filter() { |
+ if (!render_frame_message_filter_) |
+ GetChannel()->GetRemoteAssociatedInterface(&render_frame_message_filter_); |
+ return render_frame_message_filter_.get(); |
+} |
+ |
gpu::GpuChannelHost* RenderThreadImpl::GetGpuChannel() { |
if (!gpu_channel_) |
return nullptr; |