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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index f3c4ad3860e506678b34be4e784a8ada27ae72ed..3bae974c27f776b7d77c0d3f2de88d5fd937df28 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3452,6 +3452,11 @@ void HTMLMediaElement::resetMediaPlayerAndMediaSource()
}
#if ENABLE(WEB_AUDIO)
+AudioSourceProviderClient* HTMLMediaElement::audioSourceNode()
+{
+ return m_audioSourceNode;
+}
+
void HTMLMediaElement::setAudioSourceNode(AudioSourceProviderClient* sourceNode)
{
ASSERT(isMainThread());
@@ -3661,6 +3666,11 @@ void HTMLMediaElement::AudioSourceProviderImpl::provideInput(AudioBus* bus, size
m_webAudioSourceProvider->provideInput(webAudioData, framesToProcess);
}
+HTMLMediaElement::AudioClientImpl::AudioClientImpl(AudioSourceProviderClient* client)
+ : m_client(client)
+{
+}
+
void HTMLMediaElement::AudioClientImpl::setFormat(size_t numberOfChannels, float sampleRate)
{
if (m_client)
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698