| Index: chrome/browser/extensions/sandboxed_extension_unpacker.cc
|
| diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.cc b/chrome/browser/extensions/sandboxed_extension_unpacker.cc
|
| index b4522abe4db9b70d21019c5b422ddcfda0b36c51..020e7abdc7a543e85ad95d93b0f1af81d4e42d77 100644
|
| --- a/chrome/browser/extensions/sandboxed_extension_unpacker.cc
|
| +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.cc
|
| @@ -30,8 +30,6 @@ SandboxedExtensionUnpacker::SandboxedExtensionUnpacker(
|
| SandboxedExtensionUnpackerClient* client)
|
| : crx_path_(crx_path), client_loop_(MessageLoop::current()), rdh_(rdh),
|
| client_(client), got_response_(false) {
|
| -
|
| - AddRef();
|
| }
|
|
|
| void SandboxedExtensionUnpacker::Start() {
|
| @@ -269,12 +267,10 @@ bool SandboxedExtensionUnpacker::ValidateSignature() {
|
|
|
| void SandboxedExtensionUnpacker::ReportFailure(const std::string& error) {
|
| client_->OnUnpackFailure(error);
|
| - Release();
|
| }
|
|
|
| void SandboxedExtensionUnpacker::ReportSuccess() {
|
| // Client takes ownership of temporary directory and extension.
|
| client_->OnUnpackSuccess(temp_dir_.Take(), extension_root_,
|
| extension_.release());
|
| - Release();
|
| }
|
|
|