Index: base/win/shortcut.cc |
diff --git a/base/win/shortcut.cc b/base/win/shortcut.cc |
index f56db9fb005170a3dd3d2f306431b1721dc0943c..eef299b9440fab413bca51e781fc164e63586a30 100644 |
--- a/base/win/shortcut.cc |
+++ b/base/win/shortcut.cc |
@@ -204,9 +204,6 @@ bool ResolveShortcutProperties(const FilePath& shortcut_path, |
wchar_t temp[MAX_PATH]; |
if (options & ShortcutProperties::PROPERTIES_TARGET) { |
- // Try to find the target of a shortcut. |
- if (FAILED(i_shell_link->Resolve(0, SLR_NO_UI | SLR_NOSEARCH))) |
- return false; |
if (FAILED(i_shell_link->GetPath(temp, MAX_PATH, NULL, SLGP_UNCPRIORITY))) |
return false; |
properties->set_target(FilePath(temp)); |