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/browser/android/java/gin_java_bridge_message_filter.cc

Issue 1547043002: [Android] Fix GinJavaBridgeMessageFilter registration issue in Java Bridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses review inputs. Created 5 years 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
« no previous file with comments | « content/browser/android/java/gin_java_bridge_message_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/java/gin_java_bridge_message_filter.cc
diff --git a/content/browser/android/java/gin_java_bridge_message_filter.cc b/content/browser/android/java/gin_java_bridge_message_filter.cc
index f348f9f0033d04f350a47eac704bfc6616720e5d..dd45d0a5ecb75e877e50124c56847abf13583a04 100644
--- a/content/browser/android/java/gin_java_bridge_message_filter.cc
+++ b/content/browser/android/java/gin_java_bridge_message_filter.cc
@@ -168,4 +168,11 @@ void GinJavaBridgeMessageFilter::OnObjectWrapperDeleted(
host->OnObjectWrapperDeleted(current_routing_id_, object_id);
}
+// static
+void GinJavaBridgeMessageFilter::RemoveFilter(
+ GinJavaBridgeDispatcherHost* host) {
+ RenderProcessHost* rph = host->web_contents()->GetRenderProcessHost();
+ rph->RemoveUserData(kGinJavaBridgeMessageFilterKey);
+}
+
} // namespace content
« no previous file with comments | « content/browser/android/java/gin_java_bridge_message_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698