Index: third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp |
index 30cd5053e90af8f9776abe0bc535128ef302280b..2c53633d92f670e39a7627f883f029f0312987df 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp |
@@ -82,12 +82,12 @@ WebMediaStreamTrack::operator MediaStreamComponent*() const { |
} |
bool WebMediaStreamTrack::IsEnabled() const { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
return private_->Enabled(); |
} |
bool WebMediaStreamTrack::IsMuted() const { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
return private_->Muted(); |
} |
@@ -97,12 +97,12 @@ WebMediaStreamTrack::ContentHintType WebMediaStreamTrack::ContentHint() const { |
} |
WebString WebMediaStreamTrack::Id() const { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
return private_->Id(); |
} |
WebMediaStreamSource WebMediaStreamTrack::Source() const { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
return WebMediaStreamSource(private_->Source()); |
} |
@@ -114,14 +114,14 @@ WebMediaStreamTrack::TrackData* WebMediaStreamTrack::GetTrackData() const { |
} |
void WebMediaStreamTrack::SetTrackData(TrackData* extra_data) { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
private_->SetTrackData( |
WTF::WrapUnique(new TrackDataContainer(WTF::WrapUnique(extra_data)))); |
} |
void WebMediaStreamTrack::SetSourceProvider(WebAudioSourceProvider* provider) { |
- ASSERT(!private_.IsNull()); |
+ DCHECK(!private_.IsNull()); |
private_->SetSourceProvider(provider); |
} |