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

Unified Diff: content/browser/media/webrtc/webrtc_internals.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/browser/media/webrtc/webrtc_internals.cc
diff --git a/content/browser/media/webrtc/webrtc_internals.cc b/content/browser/media/webrtc/webrtc_internals.cc
index 1ebc884a5cb0a7816f607c31ddd38dc9ebedd0b0..09d7a970d26052e49cedf927f7bf87711bfb1c1a 100644
--- a/content/browser/media/webrtc/webrtc_internals.cc
+++ b/content/browser/media/webrtc/webrtc_internals.cc
@@ -278,7 +278,7 @@ void WebRTCInternals::EnableAudioDebugRecordings(
EnableAudioDebugRecordingsOnAllRenderProcessHosts();
#else
selecting_event_log_ = false;
- DCHECK(select_file_dialog_ == nullptr);
+ DCHECK(!select_file_dialog_);
select_file_dialog_ = ui::SelectFileDialog::Create(this, NULL);
select_file_dialog_->SelectFile(
ui::SelectFileDialog::SELECT_SAVEAS_FILE,
@@ -330,7 +330,7 @@ void WebRTCInternals::SetEventLogRecordings(
EnableEventLogRecordingsOnAllRenderProcessHosts();
#else
DCHECK(web_contents);
- DCHECK(select_file_dialog_ == nullptr);
+ DCHECK(!select_file_dialog_);
selecting_event_log_ = true;
select_file_dialog_ = ui::SelectFileDialog::Create(this, nullptr);
select_file_dialog_->SelectFile(
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698