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

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

Issue 1261643002: Remove unnecessary condition for audioSourceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: change audioSourceProvider to return reference Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 2bb0dd6888960b964924babfdecd28d794934ca2..0a528db4f758241281d6d01441c1fab6bbb26998 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -242,7 +242,7 @@ public:
AudioSourceProviderClient* audioSourceNode() { return m_audioSourceNode; }
void setAudioSourceNode(AudioSourceProviderClient*);
- AudioSourceProvider* audioSourceProvider() { return &m_audioSourceProvider; }
+ AudioSourceProvider& audioSourceProvider() { return m_audioSourceProvider; }
#endif
enum InvalidURLAction { DoNothing, Complain };
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698