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

Unified Diff: storage/browser/blob/blob_data_handle.cc

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: merge up to r429325 Created 4 years, 1 month 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
« no previous file with comments | « storage/browser/blob/blob_data_handle.h ('k') | third_party/WebKit/Source/platform/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_)
« no previous file with comments | « storage/browser/blob/blob_data_handle.h ('k') | third_party/WebKit/Source/platform/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698