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

Unified Diff: sky/engine/core/html/HTMLMediaElement.h

Issue 701663002: Remove HTMLVideoElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/html/HTMLImageLoader.cpp ('k') | sky/engine/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLMediaElement.h
diff --git a/sky/engine/core/html/HTMLMediaElement.h b/sky/engine/core/html/HTMLMediaElement.h
index f04f93d04f265d2b38fc875796f5ee614dd99957..36daa4239ae703ec9f21c1624d71740f87aa8ce9 100644
--- a/sky/engine/core/html/HTMLMediaElement.h
+++ b/sky/engine/core/html/HTMLMediaElement.h
@@ -181,7 +181,6 @@ public:
// Predicates also used when dispatching wrapper creation (cf. [SpecialWrapFor] IDL attribute usage.)
virtual bool isHTMLAudioElement() const { return false; }
- virtual bool isHTMLVideoElement() const { return false; }
protected:
HTMLMediaElement(const QualifiedName&, Document&);
@@ -435,7 +434,7 @@ struct ValueToString<double> {
inline bool isHTMLMediaElement(const HTMLElement& element)
{
- return isHTMLAudioElement(element) || isHTMLVideoElement(element);
+ return isHTMLAudioElement(element);
}
DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
« no previous file with comments | « sky/engine/core/html/HTMLImageLoader.cpp ('k') | sky/engine/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698