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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp

Issue 2001013003: media: Replace wtf/Assertions.h macros in favor of base/logging.h macros" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit 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: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
index ddbca23a8dca4b59dcb1d81998945c9691222a2b..45baeee686422bc5e60875db56b63dcc492aa276 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
@@ -58,7 +58,7 @@ const HTMLMediaElement* toParentMediaElement(const Node* node)
MediaControlElementType mediaControlElementType(const Node* node)
{
- ASSERT_WITH_SECURITY_IMPLICATION(node->isMediaControlElement());
+ SECURITY_DCHECK(node->isMediaControlElement());
const HTMLElement* element = toHTMLElement(node);
if (isHTMLInputElement(*element))
return static_cast<const MediaControlInputElement*>(element)->displayType();

Powered by Google App Engine
This is Rietveld 408576698