Replace WTF::move with WTFMove
[WebKit-https.git] / Source / WebCore / bridge / c / c_instance.cpp
index 4b3ef66..44f64b6 100644 (file)
@@ -78,8 +78,8 @@ void CInstance::moveGlobalExceptionToExecState(ExecState* exec)
     globalExceptionString() = String();
 }
 
-CInstance::CInstance(NPObject* o, PassRefPtr<RootObject> rootObject)
-    : Instance(rootObject)
+CInstance::CInstance(NPObject* o, RefPtr<RootObject>&& rootObject)
+    : Instance(WTFMove(rootObject))
 {
     _object = _NPN_RetainObject(o);
     _class = 0;