| Index: chrome/browser/shell_integration_win.cc
|
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
|
| index fffcc9c46b1552a94d946b33cc37cec1c9a93233..dc45ad026f0f9ffe6dd02c96325dac25e8be7212 100644
|
| --- a/chrome/browser/shell_integration_win.cc
|
| +++ b/chrome/browser/shell_integration_win.cc
|
| @@ -487,6 +487,9 @@ IsPinnedToTaskbarHelper::IsPinnedToTaskbarHelper(
|
| l10n_util::GetStringUTF16(IDS_UTILITY_PROCESS_SHELL_HANDLER_NAME)),
|
| error_callback_(error_callback),
|
| result_callback_(result_callback) {
|
| + DCHECK(error_callback_);
|
| + DCHECK(result_callback_);
|
| +
|
| // |shell_handler_| owns the callbacks and is guaranteed to be destroyed
|
| // before |this|, therefore making base::Unretained() safe to use.
|
| shell_handler_.set_error_callback(base::Bind(
|
|
|