| Index: content/shell/browser/shell_net_log.cc
|
| diff --git a/content/shell/browser/shell_net_log.cc b/content/shell/browser/shell_net_log.cc
|
| index eb5b0cb3de4cf4aefa7be1aaf9ceb277def7e37e..2a21b8ebfe352a093847ead52fbe5b36c01318c4 100644
|
| --- a/content/shell/browser/shell_net_log.cc
|
| +++ b/content/shell/browser/shell_net_log.cc
|
| @@ -63,17 +63,17 @@ ShellNetLog::ShellNetLog(const std::string& app_name) {
|
| << " for net logging";
|
| } else {
|
| scoped_ptr<base::Value> constants(GetShellConstants(app_name));
|
| - net_log_logger_.reset(new net::WriteToFileNetLogObserver());
|
| - net_log_logger_->StartObserving(this, file.Pass(), constants.get(),
|
| - nullptr);
|
| + write_to_file_observer_.reset(new net::WriteToFileNetLogObserver());
|
| + write_to_file_observer_->StartObserving(this, file.Pass(),
|
| + constants.get(), nullptr);
|
| }
|
| }
|
| }
|
|
|
| ShellNetLog::~ShellNetLog() {
|
| // Remove the observer we own before we're destroyed.
|
| - if (net_log_logger_)
|
| - net_log_logger_->StopObserving(nullptr);
|
| + if (write_to_file_observer_)
|
| + write_to_file_observer_->StopObserving(nullptr);
|
| }
|
|
|
| } // namespace content
|
|
|