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

Unified Diff: Source/modules/mediastream/NavigatorUserMediaError.h

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/modules/mediastream/NavigatorUserMediaError.h
diff --git a/Source/modules/mediastream/NavigatorUserMediaError.h b/Source/modules/mediastream/NavigatorUserMediaError.h
index 928aa90fa4870b0e9f75b5bbbb0c823a9fa54564..59461bf357e69880b25ff870d6f5f36cc1a0f3ce 100644
--- a/Source/modules/mediastream/NavigatorUserMediaError.h
+++ b/Source/modules/mediastream/NavigatorUserMediaError.h
@@ -32,22 +32,25 @@
namespace WebCore {
-class NavigatorUserMediaError FINAL : public RefCounted<NavigatorUserMediaError>, public ScriptWrappable {
+class NavigatorUserMediaError FINAL : public RefCountedWillBeGarbageCollected<NavigatorUserMediaError>, public ScriptWrappable {
sof 2014/02/20 15:30:23 Add *Finalized
keishi 2014/02/21 08:00:25 Done.
+ DECLARE_GC_INFO;
public:
enum Name {
NamePermissionDenied,
NameConstraintNotSatisfied
};
- static PassRefPtr<NavigatorUserMediaError> create(Name name, const String& message, const String& constraintName)
+ static PassRefPtrWillBeRawPtr<NavigatorUserMediaError> create(Name name, const String& message, const String& constraintName)
{
- return adoptRef(new NavigatorUserMediaError(name, message, constraintName));
+ return adoptRefWillBeNoop(new NavigatorUserMediaError(name, message, constraintName));
}
String name() const;
const String& message() const { return m_message; }
const String& constraintName() const { return m_constraintName; }
+ void trace(Visitor*) { }
+
private:
NavigatorUserMediaError(Name name, const String& message, const String& constraintName)
: m_name(name), m_message(message), m_constraintName(constraintName)

Powered by Google App Engine
This is Rietveld 408576698