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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 2507223003: Tests for dragging between two frames (potentially cross-site from main frame). (Closed)
Patch Set: Added SuppressPassingStartDragFurther method + moved constant definitions. Created 4 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 | « chrome/test/data/drag_and_drop/page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 139301fa6344bb2f3106253aaed144e11cdb2a7e..988f637f37b8a6b9c9d76e98f8bab62b2d1b9af6 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -1303,7 +1303,8 @@ void DOMMessageQueue::RenderProcessGone(base::TerminationStatus status) {
case base::TERMINATION_STATUS_STILL_RUNNING:
break;
default:
- message_loop_runner_->Quit();
+ if (message_loop_runner_.get())
+ message_loop_runner_->Quit();
break;
}
}
« no previous file with comments | « chrome/test/data/drag_and_drop/page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698