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

Unified Diff: components/web_view/frame_utils.cc

Issue 1578473002: Pass application ids via AcceptConnection & ConnectToApplication callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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: components/web_view/frame_utils.cc
diff --git a/components/web_view/frame_utils.cc b/components/web_view/frame_utils.cc
index b95e4f953e42558e6a01e7401f9b83fed3bc5ef8..03ee9e23bcb713556b977023149a805887beca62 100644
--- a/components/web_view/frame_utils.cc
+++ b/components/web_view/frame_utils.cc
@@ -20,7 +20,7 @@ bool AlwaysCreateNewFrameTree() {
bool AreAppIdsEqual(uint32_t app_id1, uint32_t app_id2) {
return app_id1 == app_id2 &&
- app_id1 != mojo::Shell::kInvalidContentHandlerID &&
+ app_id1 != mojo::Shell::kInvalidApplicationID &&
!AlwaysCreateNewFrameTree();
}

Powered by Google App Engine
This is Rietveld 408576698