diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 15:50:30 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 15:50:30 +0000 |
commit | 9dc12406bd6c1685540c339ee5734c12f385bd6e (patch) | |
tree | 357bc9fbffc1b5b8e83589f87e6f578e5a07b8bf /remoting/host/chromoting_host_context.cc | |
parent | 66171abedad9f817901db48328fdc417ecf56c7a (diff) | |
download | chromium_src-9dc12406bd6c1685540c339ee5734c12f385bd6e.zip chromium_src-9dc12406bd6c1685540c339ee5734c12f385bd6e.tar.gz chromium_src-9dc12406bd6c1685540c339ee5734c12f385bd6e.tar.bz2 |
Move call to c_str() on temporary object to inside the function call
where it's needed. Prior to this, at least with the
CHROME_ALLOCATOR=winheap environment variable set, the pointer passed
to kernel32!RegisterApplicationRestart could be invalid.
BUG=70824
TEST=run debug build under full page heap on Windows with CHROME_ALLOCATOR=winheap
Review URL: http://codereview.chromium.org/6602092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host_context.cc')
0 files changed, 0 insertions, 0 deletions