| Index: chrome/browser/ui/webui/nacl_ui.cc
|
| diff --git a/chrome/browser/ui/webui/nacl_ui.cc b/chrome/browser/ui/webui/nacl_ui.cc
|
| index e6f218d7f7f6b4a32feaaec13d92320e0a89c6d3..fe35249e2713e9aa4bd36e9c9053b1596e7b7afa 100644
|
| --- a/chrome/browser/ui/webui/nacl_ui.cc
|
| +++ b/chrome/browser/ui/webui/nacl_ui.cc
|
| @@ -192,7 +192,7 @@ NaClDomHandler::NaClDomHandler()
|
| }
|
|
|
| NaClDomHandler::~NaClDomHandler() {
|
| - if (proxy_)
|
| + if (proxy_.get())
|
| proxy_->set_handler(NULL);
|
| }
|
|
|
| @@ -349,7 +349,7 @@ void NaClDomHandler::MaybeRespondToPage() {
|
| return;
|
|
|
| if (!pnacl_path_validated_) {
|
| - DCHECK(proxy_);
|
| + DCHECK(proxy_.get());
|
| proxy_->ValidatePnaclPath();
|
| return;
|
| }
|
|
|