diff options
Diffstat (limited to 'chromium/net/http/http_cache_writers.h')
-rw-r--r-- | chromium/net/http/http_cache_writers.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/net/http/http_cache_writers.h b/chromium/net/http/http_cache_writers.h index 7de8dde0c7c..f149fc819b1 100644 --- a/chromium/net/http/http_cache_writers.h +++ b/chromium/net/http/http_cache_writers.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Chromium Authors. All rights reserved. +// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -115,9 +115,6 @@ class NET_EXPORT_PRIVATE HttpCache::Writers { // Returns true if this object is empty. bool IsEmpty() const { return all_writers_.empty(); } - // Invoked during HttpCache's destruction. - void Clear() { all_writers_.clear(); } - // Returns true if |transaction| is part of writers. bool HasTransaction(const Transaction* transaction) const { return all_writers_.count(const_cast<Transaction*>(transaction)) > 0; @@ -249,7 +246,7 @@ class NET_EXPORT_PRIVATE HttpCache::Writers { raw_ptr<HttpCache> const cache_ = nullptr; // Owner of |this|. - raw_ptr<ActiveEntry> const entry_ = nullptr; + raw_ptr<ActiveEntry, DanglingUntriaged> const entry_ = nullptr; std::unique_ptr<HttpTransaction> network_transaction_; |