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

Unified Diff: content/child/child_thread_impl.cc

Issue 1958823002: Fix implicit access to raw pointer of scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Splitting out change to scoped_refptr to follow up patch. Created 4 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
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index b7aa75e4f8fb60c830c520f87e932987936424c7..a7ca4915ebc40f0b7ed5460b796cfbbdc1f56f1f 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -724,7 +724,7 @@ void ChildThreadImpl::EnsureConnected() {
}
bool ChildThreadImpl::IsInBrowserProcess() const {
- return browser_process_io_runner_;
+ return static_cast<bool>(browser_process_io_runner_);
}
} // namespace content
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698