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

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

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 7 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 | « Source/modules/mediastream/RTCStatsResponse.h ('k') | Source/modules/mediastream/RTCStatsResponse.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCStatsResponse.cpp
diff --git a/Source/modules/mediastream/RTCStatsResponse.cpp b/Source/modules/mediastream/RTCStatsResponse.cpp
index 626546882b2349bac87eed50078e482bdacb9d50..1d32ab49d080e89c09ae2cb6b4db51d9d1f033be 100644
--- a/Source/modules/mediastream/RTCStatsResponse.cpp
+++ b/Source/modules/mediastream/RTCStatsResponse.cpp
@@ -28,9 +28,9 @@
namespace WebCore {
-PassRefPtr<RTCStatsResponse> RTCStatsResponse::create()
+PassRefPtrWillBeRawPtr<RTCStatsResponse> RTCStatsResponse::create()
{
- return adoptRef(new RTCStatsResponse());
+ return adoptRefWillBeNoop(new RTCStatsResponse());
}
RTCStatsResponse::RTCStatsResponse()
@@ -38,7 +38,7 @@ RTCStatsResponse::RTCStatsResponse()
ScriptWrappable::init(this);
}
-PassRefPtr<RTCStatsReport> RTCStatsResponse::namedItem(const AtomicString& name)
+PassRefPtrWillBeRawPtr<RTCStatsReport> RTCStatsResponse::namedItem(const AtomicString& name)
{
if (m_idmap.find(name) != m_idmap.end())
return m_result[m_idmap.get(name)];
@@ -58,4 +58,10 @@ void RTCStatsResponse::addStatistic(size_t report, String name, String value)
m_result[report]->addStatistic(name, value);
}
+void RTCStatsResponse::trace(Visitor* visitor)
+{
+ visitor->trace(m_result);
+ RTCStatsResponseBase::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/modules/mediastream/RTCStatsResponse.h ('k') | Source/modules/mediastream/RTCStatsResponse.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698