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

Unified Diff: content/test/content_browser_test_utils.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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 | « content/shell/shell_browser_context.cc ('k') | content/test/net/url_request_abort_on_end_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils.cc
diff --git a/content/test/content_browser_test_utils.cc b/content/test/content_browser_test_utils.cc
index 32d25979c2cffa31285b727588b29bd9b6c918e4..1ac37dafc11f63ed73956b97385c063a100bcdf7 100644
--- a/content/test/content_browser_test_utils.cc
+++ b/content/test/content_browser_test_utils.cc
@@ -84,7 +84,7 @@ Shell* ShellAddedObserver::GetShell() {
void ShellAddedObserver::ShellCreated(Shell* shell) {
DCHECK(!shell_);
shell_ = shell;
- if (runner_)
+ if (runner_.get())
runner_->QuitClosure().Run();
}
« no previous file with comments | « content/shell/shell_browser_context.cc ('k') | content/test/net/url_request_abort_on_end_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698