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

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

Issue 456323002: [WIP] Re-implement MediaControls in Blink-in-JS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: Source/core/html/shadow/MediaControlElementTypes.cpp
diff --git a/Source/core/html/shadow/MediaControlElementTypes.cpp b/Source/core/html/shadow/MediaControlElementTypes.cpp
index 9094ed82328d9d9ce2930a26102cd73f13f729a9..20109b234db862e3772cef4812e3ce9aeda84c73 100644
--- a/Source/core/html/shadow/MediaControlElementTypes.cpp
+++ b/Source/core/html/shadow/MediaControlElementTypes.cpp
@@ -60,7 +60,8 @@ HTMLMediaElement* toParentMediaElement(Node* node)
MediaControlElementType mediaControlElementType(Node* node)
{
- ASSERT_WITH_SECURITY_IMPLICATION(node->isMediaControlElement());
+ // TODO: Enable this assertion again
+ //ASSERT_WITH_SECURITY_IMPLICATION(node->isMediaControlElement());
HTMLElement* element = toHTMLElement(node);
if (isHTMLInputElement(*element))
return static_cast<MediaControlInputElement*>(element)->displayType();

Powered by Google App Engine
This is Rietveld 408576698