Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index fd1a6c35d1f328603487641476e10f2d7f2fecae..f386cd025ef4ddae8b81a34ee2e94388845cd754 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -1490,7 +1490,7 @@ bool BatchShortcutAction( |
for (base::FilePath shortcut_path = enumerator.Next(); |
!shortcut_path.empty(); |
shortcut_path = enumerator.Next()) { |
- if (cancel && cancel->data.IsSet()) |
+ if (cancel.get() && cancel->data.IsSet()) |
return false; |
if (base::win::ResolveShortcut(shortcut_path, &target_path, &args)) { |
if (shortcut_filter.Run(target_path, args) && |