| Index: native_client_sdk/src/libraries/nacl_io/typed_mount_factory.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/typed_mount_factory.h b/native_client_sdk/src/libraries/nacl_io/typed_mount_factory.h
|
| index c859b0bb469cce4cf9b0324222f83f08140fa74d..84ec60525f12352b79a4816f01b4a8f43a544280 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/typed_mount_factory.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/typed_mount_factory.h
|
| @@ -8,14 +8,16 @@
|
| #include "nacl_io/mount.h"
|
| #include "nacl_io/mount_factory.h"
|
|
|
| +namespace nacl_io {
|
| +
|
| template <typename T>
|
| class TypedMountFactory : public MountFactory {
|
| public:
|
| virtual Error CreateMount(int dev,
|
| StringMap_t& args,
|
| PepperInterface* ppapi,
|
| - ScopedRef<Mount>* out_mount) {
|
| - ScopedRef<T> mnt(new T());
|
| + ScopedMount* out_mount) {
|
| + sdk_util::ScopedRef<T> mnt(new T());
|
| Error error = mnt->Init(dev, args, ppapi);
|
| if (error)
|
| return error;
|
| @@ -25,5 +27,7 @@ class TypedMountFactory : public MountFactory {
|
| }
|
| };
|
|
|
| +} // namespace nacl_io
|
| +
|
| #endif // LIBRARIES_NACL_IO_TYPED_MOUNT_FACTORY_H_
|
|
|
|
|