Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 05bf13973d4ea29511853be2075fda1b88a4e29c..4a088e0c7991f4b0d7ad539e18316fad5876cceb 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -113,7 +113,6 @@ |
#include "url/gurl.h" |
#if defined(OS_ANDROID) |
-#include "content/browser/android/app_web_message_port_message_filter.h" |
#include "content/public/browser/android/java_interfaces.h" |
#include "content/browser/media/android/media_player_renderer.h" |
#include "media/base/audio_renderer_sink.h" |
@@ -617,18 +616,6 @@ RenderFrameHostImpl::GetRemoteAssociatedInterfaces() { |
return remote_associated_interfaces_.get(); |
} |
-#if defined(OS_ANDROID) |
-scoped_refptr<AppWebMessagePortMessageFilter> |
-RenderFrameHostImpl::GetAppWebMessagePortMessageFilter(int routing_id) { |
- if (!app_web_message_port_message_filter_) { |
- app_web_message_port_message_filter_ = |
- new AppWebMessagePortMessageFilter(routing_id); |
- GetProcess()->AddFilter(app_web_message_port_message_filter_.get()); |
- } |
- return app_web_message_port_message_filter_; |
-} |
-#endif |
- |
blink::WebPageVisibilityState RenderFrameHostImpl::GetVisibilityState() { |
// Works around the crashes seen in https://crbug.com/501863, where the |
// active WebContents from a browser iterator may contain a render frame |