Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7402)

Unified Diff: chrome_frame/dll_redirector.cc

Issue 6581045: Fix a ChromeFrame crash which occurs in the field typically during upgrades w... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/dll_redirector.cc
===================================================================
--- chrome_frame/dll_redirector.cc (revision 75890)
+++ chrome_frame/dll_redirector.cc (working copy)
@@ -29,7 +29,8 @@
// TODO(robertshield): Allow for overrides to be taken from the environment.
std::wstring beacon_name(kSharedMemoryName);
beacon_name += GetHostProcessName(false);
- shared_memory_.reset(new base::SharedMemory(beacon_name));
+ shared_memory_.reset(new base::SharedMemory());
+ shared_memory_name_ = WideToUTF8(beacon_name);
}
DllRedirector::DllRedirector(const char* shared_memory_name)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698