diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-21 21:55:13 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-21 21:55:13 +0000 |
commit | 74895f21c68ecf5edcd7064e0280761425498413 (patch) | |
tree | 0b7940f06518a0c2838f05fd1fcdc1d0af8cb494 /base | |
parent | b112e4c80d2274cde123491a56e9cf110e90ee06 (diff) | |
download | chromium_src-74895f21c68ecf5edcd7064e0280761425498413.zip chromium_src-74895f21c68ecf5edcd7064e0280761425498413.tar.gz chromium_src-74895f21c68ecf5edcd7064e0280761425498413.tar.bz2 |
Fix a possible crash on windows.
Also see http://codereview.chromium.org/7057021
BUG=83236
TEST=none
Review URL: http://codereview.chromium.org/7055013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/time_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/time_win.cc b/base/time_win.cc index d439a1e..9c023b3 100644 --- a/base/time_win.cc +++ b/base/time_win.cc @@ -239,7 +239,7 @@ void Time::Explode(bool is_local, Exploded* exploded) const { SYSTEMTIME st; if (!success || !FileTimeToSystemTime(&ft, &st)) { NOTREACHED() << "Unable to convert time, don't know why"; - ZeroMemory(exploded, sizeof(exploded)); + ZeroMemory(exploded, sizeof(*exploded)); return; } |