Index: storage/browser/blob/blob_data_handle.cc |
diff --git a/storage/browser/blob/blob_data_handle.cc b/storage/browser/blob/blob_data_handle.cc |
index 55e63a1b620697add3368bf82cd0537387de0eb5..a2165ad1edb0133a28cfcb2ad617ea8585fb8a10 100644 |
--- a/storage/browser/blob/blob_data_handle.cc |
+++ b/storage/browser/blob/blob_data_handle.cc |
@@ -103,10 +103,7 @@ BlobDataHandle::BlobDataHandle(const std::string& uuid, |
DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); |
} |
-BlobDataHandle::BlobDataHandle(const BlobDataHandle& other) { |
- io_task_runner_ = other.io_task_runner_; |
- shared_ = other.shared_; |
-} |
+BlobDataHandle::BlobDataHandle(const BlobDataHandle& other) = default; |
BlobDataHandle::~BlobDataHandle() { |
if (!io_task_runner_->RunsTasksOnCurrentThread()) { |
@@ -117,6 +114,9 @@ BlobDataHandle::~BlobDataHandle() { |
} |
} |
+BlobDataHandle& BlobDataHandle::operator=( |
+ const BlobDataHandle& other) = default; |
+ |
bool BlobDataHandle::IsBeingBuilt() const { |
DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); |
if (!shared_->context_) |