Index: Source/modules/mediastream/NavigatorUserMediaError.cpp |
diff --git a/Source/modules/mediastream/NavigatorUserMediaError.cpp b/Source/modules/mediastream/NavigatorUserMediaError.cpp |
index 27e81533bba910ef8412cfbc3ccabefba6bc978d..6c27428ef64e0be3653413dba2dba2378b9f5c75 100644 |
--- a/Source/modules/mediastream/NavigatorUserMediaError.cpp |
+++ b/Source/modules/mediastream/NavigatorUserMediaError.cpp |
@@ -33,7 +33,7 @@ |
namespace WebCore { |
-PassRefPtr<NavigatorUserMediaError> NavigatorUserMediaError::create(Name name, const String& message, const String& constraintName) |
+PassRefPtrWillBeRawPtr<NavigatorUserMediaError> NavigatorUserMediaError::create(Name name, const String& message, const String& constraintName) |
{ |
String nameString; |
switch (name) { |
@@ -46,7 +46,7 @@ PassRefPtr<NavigatorUserMediaError> NavigatorUserMediaError::create(Name name, c |
break; |
} |
- return adoptRef(new NavigatorUserMediaError(nameString, message, constraintName)); |
+ return adoptRefWillBeNoop(new NavigatorUserMediaError(nameString, message, constraintName)); |
} |
} // namespace WebCore |