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

Unified Diff: content/common/sandbox_win.cc

Issue 1320783002: Make SharedMemoryHandle a class on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_global
Patch Set: Rebase. Created 5 years, 3 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 | « content/common/sandbox_init_win.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_win.cc
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index 26d1601739946cd3c85cc2e65476b641c7621a3a..d2f162d7e1be7b9767c5c5eba9b1c54e4c99ab90 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -729,8 +729,8 @@ base::Process StartSandboxedProcess(
base::SharedMemory direct_write_font_cache_section;
if (direct_write_font_cache_section.Open(name, true)) {
- void* shared_handle =
- policy->AddHandleToShare(direct_write_font_cache_section.handle());
+ void* shared_handle = policy->AddHandleToShare(
+ direct_write_font_cache_section.handle().GetHandle());
cmd_line->AppendSwitchASCII(switches::kFontCacheSharedHandle,
base::UintToString(reinterpret_cast<unsigned int>(shared_handle)));
}
« no previous file with comments | « content/common/sandbox_init_win.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698