summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/dev/file_ref_dev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/dev/file_ref_dev.cc')
-rw-r--r--ppapi/cpp/dev/file_ref_dev.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/ppapi/cpp/dev/file_ref_dev.cc b/ppapi/cpp/dev/file_ref_dev.cc
index d5c5ec0..9a8db58 100644
--- a/ppapi/cpp/dev/file_ref_dev.cc
+++ b/ppapi/cpp/dev/file_ref_dev.cc
@@ -36,15 +36,10 @@ FileRef_Dev::FileRef_Dev(const FileRef_Dev& other)
}
FileRef_Dev& FileRef_Dev::operator=(const FileRef_Dev& other) {
- FileRef_Dev copy(other);
- swap(copy);
+ Resource::operator=(other);
return *this;
}
-void FileRef_Dev::swap(FileRef_Dev& other) {
- Resource::swap(other);
-}
-
PP_FileSystemType_Dev FileRef_Dev::GetFileSystemType() const {
if (!file_ref_f)
return PP_FILESYSTEMTYPE_EXTERNAL;