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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

Issue 2710423002: Make WebMediaConstraitsPrivate ThreadSafeRefCounted (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
index ee4f77113dd22175735791a0f9fdba5883557d4c..f7367d6aef24e4639ea2d1acc85dc3726deaba0e 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
@@ -30,11 +30,11 @@
#include "public/platform/WebMediaConstraints.h"
+#include <math.h>
#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
+#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/text/StringBuilder.h"
#include "wtf/text/WTFString.h"
-#include <math.h>
namespace blink {
@@ -73,7 +73,7 @@ void maybeEmitNamedBoolean(StringBuilder& builder,
} // namespace
class WebMediaConstraintsPrivate final
- : public RefCounted<WebMediaConstraintsPrivate> {
+ : public ThreadSafeRefCounted<WebMediaConstraintsPrivate> {
public:
static PassRefPtr<WebMediaConstraintsPrivate> create();
static PassRefPtr<WebMediaConstraintsPrivate> create(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698