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

Unified Diff: Source/core/html/HTMLAudioElement.h

Issue 483863003: Use SpecialWrapFor over HTMLMediaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use [SpecialWrapFor] instead 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/HTMLAudioElement.h
diff --git a/Source/core/html/HTMLAudioElement.h b/Source/core/html/HTMLAudioElement.h
index 92ec429d9395dcdd8022e04a1f830c595f91667c..fc97df42c1fa2b61281f82b37184a26c98da4a44 100644
--- a/Source/core/html/HTMLAudioElement.h
+++ b/Source/core/html/HTMLAudioElement.h
@@ -38,6 +38,8 @@ public:
static PassRefPtrWillBeRawPtr<HTMLAudioElement> create(Document&);
static PassRefPtrWillBeRawPtr<HTMLAudioElement> createForJSConstructor(Document&, const AtomicString& src);
+ virtual bool isHTMLAudioElement() const OVERRIDE { return true; }
+
private:
HTMLAudioElement(Document&);
};
« no previous file with comments | « LayoutTests/webaudio/mediaelementaudiosourcenode-wrapper-expected.txt ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698