Should override the virtual destructor.
This commit is contained in:
parent
e8abee9ca9
commit
328cf4789b
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ class CertVerifierRequest : public AtomCertVerifier::Request {
|
||||||
first_response_(true),
|
first_response_(true),
|
||||||
weak_ptr_factory_(this) {}
|
weak_ptr_factory_(this) {}
|
||||||
|
|
||||||
~CertVerifierRequest() {
|
~CertVerifierRequest() override {
|
||||||
cert_verifier_->RemoveRequest(params_);
|
cert_verifier_->RemoveRequest(params_);
|
||||||
default_verifier_request_.reset();
|
default_verifier_request_.reset();
|
||||||
while (!response_list_.empty() && !first_response_) {
|
while (!response_list_.empty() && !first_response_) {
|
||||||
|
|
|
@ -51,7 +51,7 @@ class FileSelectHelper : public base::RefCounted<FileSelectHelper>,
|
||||||
private:
|
private:
|
||||||
friend class base::RefCounted<FileSelectHelper>;
|
friend class base::RefCounted<FileSelectHelper>;
|
||||||
|
|
||||||
~FileSelectHelper() {}
|
~FileSelectHelper() override {}
|
||||||
|
|
||||||
void OnOpenDialogDone(bool result, const std::vector<base::FilePath>& paths) {
|
void OnOpenDialogDone(bool result, const std::vector<base::FilePath>& paths) {
|
||||||
std::vector<content::FileChooserFileInfo> file_info;
|
std::vector<content::FileChooserFileInfo> file_info;
|
||||||
|
|
Loading…
Reference in a new issue