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

Unified Diff: content/renderer/media/android/renderer_media_session_manager.cc

Issue 1308983005: NOT FOR LANDING Implement WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add forward declaration Created 4 years, 11 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: content/renderer/media/android/renderer_media_session_manager.cc
diff --git a/content/renderer/media/android/renderer_media_session_manager.cc b/content/renderer/media/android/renderer_media_session_manager.cc
index 58b0888f568ab6c26eeec973081f924758c3c264..01383ec9a0f86bc16d96ccc9632f1c1f4b956d81 100644
--- a/content/renderer/media/android/renderer_media_session_manager.cc
+++ b/content/renderer/media/android/renderer_media_session_manager.cc
@@ -11,12 +11,9 @@
namespace content {
-static const int kDefaultMediaSessionID = 0;
-
RendererMediaSessionManager::RendererMediaSessionManager(
RenderFrame* render_frame)
- : RenderFrameObserver(render_frame),
- next_session_id_(kDefaultMediaSessionID + 1) {}
+ : RenderFrameObserver(render_frame), next_session_id_(1) {}
RendererMediaSessionManager::~RendererMediaSessionManager() {
DCHECK(sessions_.empty())

Powered by Google App Engine
This is Rietveld 408576698