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

Unified Diff: Source/modules/mediastream/NavigatorUserMediaError.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
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
« no previous file with comments | « Source/modules/mediastream/NavigatorUserMediaError.h ('k') | Source/modules/mediastream/NavigatorUserMediaError.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698