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

Unified Diff: content/child/child_thread.cc

Issue 148243013: Add shared bitmap managers for browser and renderer processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
Index: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index 5b54ee041f9b9c0198bdb90a4da2208eee7b8849..ce002af6c37cac878b8d73454eaf46520d03c674 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -23,6 +23,7 @@
#include "content/child/child_histogram_message_filter.h"
#include "content/child/child_process.h"
#include "content/child/child_resource_message_filter.h"
+#include "content/child/child_shared_bitmap_manager.h"
#include "content/child/fileapi/file_system_dispatcher.h"
#include "content/child/power_monitor_broadcast_source.h"
#include "content/child/quota_dispatcher.h"
@@ -250,6 +251,9 @@ void ChildThread::Init() {
::HeapProfilerStop,
::GetHeapProfile));
#endif
+
+ shared_bitmap_manager_.reset(
+ new ChildSharedBitmapManager(thread_safe_sender()));
}
ChildThread::~ChildThread() {

Powered by Google App Engine
This is Rietveld 408576698