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

Unified Diff: Source/modules/mediastream/MediaStream.cpp

Issue 467093003: ended attribute has been deprecated. Adding usecounter to gather current usage statistics and let u… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/modules/mediastream/MediaStream.cpp
diff --git a/Source/modules/mediastream/MediaStream.cpp b/Source/modules/mediastream/MediaStream.cpp
index ac6ca8c77d5dee34c93bf72ce7d1fc9c97b3845b..975c06245ad826e8f7b289114f90764d86293ecf 100644
--- a/Source/modules/mediastream/MediaStream.cpp
+++ b/Source/modules/mediastream/MediaStream.cpp
@@ -28,6 +28,7 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
+#include "core/frame/UseCounter.h"
Henrik Grunell 2014/08/27 05:57:30 Remove.
Vinod Keshav 2014/08/27 06:37:11 Done.
#include "modules/mediastream/MediaStreamRegistry.h"
#include "modules/mediastream/MediaStreamTrackEvent.h"
#include "platform/mediastream/MediaStreamCenter.h"
@@ -155,6 +156,7 @@ MediaStream::~MediaStream()
bool MediaStream::ended() const
{
+ UseCounter::countDeprecation(executionContext(), UseCounter::MediaStreamEnded);
Henrik Grunell 2014/08/27 05:57:30 Remove this.
Vinod Keshav 2014/08/27 06:37:11 Done.
return m_stopped || m_descriptor->ended();
}

Powered by Google App Engine
This is Rietveld 408576698