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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules Created 3 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: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
diff --git a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
index 9909299aff2328b4bfb03d20b7c0c0ba31444c7c..fc2e1b83fe2a1fa9de1ffdf746ce5fc10f8df6c5 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
+++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
@@ -16,7 +16,7 @@ namespace blink {
bool HTMLMediaElementRemotePlayback::FastHasAttribute(
const QualifiedName& name,
const HTMLMediaElement& element) {
- ASSERT(name == HTMLNames::disableremoteplaybackAttr);
+ DCHECK(name == HTMLNames::disableremoteplaybackAttr);
return element.FastHasAttribute(name);
}
@@ -25,7 +25,7 @@ void HTMLMediaElementRemotePlayback::SetBooleanAttribute(
const QualifiedName& name,
HTMLMediaElement& element,
bool value) {
- ASSERT(name == HTMLNames::disableremoteplaybackAttr);
+ DCHECK(name == HTMLNames::disableremoteplaybackAttr);
element.SetBooleanAttribute(name, value);
HTMLMediaElementRemotePlayback& self =

Powered by Google App Engine
This is Rietveld 408576698