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

Unified Diff: components/guest_view/renderer/guest_view_request.cc

Issue 2092603002: DCHECK that GuestViewDetachRequest receives GuestViewMsg_GuestDetached IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/guest_view/renderer/guest_view_request.cc
diff --git a/components/guest_view/renderer/guest_view_request.cc b/components/guest_view/renderer/guest_view_request.cc
index bf7ea55f131274b15088df9ff8046e30ad62c9d8..1d26c3f4462bab8457123d1ec9e911feff15fd7f 100644
--- a/components/guest_view/renderer/guest_view_request.cc
+++ b/components/guest_view/renderer/guest_view_request.cc
@@ -128,6 +128,7 @@ void GuestViewDetachRequest::PerformRequest() {
}
void GuestViewDetachRequest::HandleResponse(const IPC::Message& message) {
+ DCHECK(message.type() == GuestViewMsg_GuestDetached::ID);
ExecuteCallbackIfAvailable(0 /* argc */, nullptr);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698