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

Unified Diff: chrome/browser/visitedlink_event_listener.cc

Issue 397031: Launch processes asynchronously so as not to block the UI thread. For now, re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: return 0 instead of -1 if zygote couldn't launch renderer Created 11 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/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/visitedlink_master.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/visitedlink_event_listener.cc
===================================================================
--- chrome/browser/visitedlink_event_listener.cc (revision 32255)
+++ chrome/browser/visitedlink_event_listener.cc (working copy)
@@ -24,15 +24,7 @@
if (!i.GetCurrentValue()->HasConnection())
continue;
- base::SharedMemoryHandle new_table;
- base::ProcessHandle process = i.GetCurrentValue()->GetHandle();
- if (!process) {
- // process can be null if it's started with the --single-process flag.
- process = base::Process::Current().handle();
- }
-
- table_memory->ShareToProcess(process, &new_table);
- i.GetCurrentValue()->Send(new ViewMsg_VisitedLink_NewTable(new_table));
+ i.GetCurrentValue()->SendVisitedLinkTable(table_memory);
}
}
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/visitedlink_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698