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

Unified Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 604753003: Removing #ifdefs for WEB_AUDIO compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/web/WebMediaPlayerClientImpl.h
diff --git a/Source/web/WebMediaPlayerClientImpl.h b/Source/web/WebMediaPlayerClientImpl.h
index 83a114d1d3dc2fe12ae36204644045da1117a668..059abc60a142e5b29df98f3eeee9908509f53f45 100644
--- a/Source/web/WebMediaPlayerClientImpl.h
+++ b/Source/web/WebMediaPlayerClientImpl.h
@@ -91,9 +91,7 @@ public:
virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMediaPlayer::CORSMode) OVERRIDE;
virtual void setPreload(MediaPlayer::Preload) OVERRIDE;
-#if ENABLE(WEB_AUDIO)
virtual AudioSourceProvider* audioSourceProvider() OVERRIDE;
-#endif
private:
explicit WebMediaPlayerClientImpl(MediaPlayerClient*);
@@ -103,7 +101,6 @@ private:
MediaPlayerClient* m_client;
OwnPtr<WebMediaPlayer> m_webMediaPlayer;
-#if ENABLE(WEB_AUDIO)
// AudioClientImpl wraps an AudioSourceProviderClient.
// When the audio format is known, Chromium calls setFormat() which then dispatches into WebCore.
@@ -155,5 +152,3 @@ private:
};
} // namespace blink
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698