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

Unified Diff: chrome/renderer/greasemonkey_slave.cc

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « chrome/renderer/greasemonkey_slave.h ('k') | chrome/renderer/greasemonkey_slave_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/greasemonkey_slave.cc
===================================================================
--- chrome/renderer/greasemonkey_slave.cc (revision 5371)
+++ chrome/renderer/greasemonkey_slave.cc (working copy)
@@ -113,11 +113,11 @@
GreasemonkeySlave::GreasemonkeySlave() : shared_memory_(NULL) {
}
-bool GreasemonkeySlave::UpdateScripts(SharedMemoryHandle shared_memory) {
+bool GreasemonkeySlave::UpdateScripts(base::SharedMemoryHandle shared_memory) {
scripts_.clear();
- // Create the shared memory object.
- shared_memory_.reset(new SharedMemory(shared_memory, true)); // read-only
+ // Create the shared memory object (read only).
+ shared_memory_.reset(new base::SharedMemory(shared_memory, true));
if (!shared_memory_.get())
return false;
« no previous file with comments | « chrome/renderer/greasemonkey_slave.h ('k') | chrome/renderer/greasemonkey_slave_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698