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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2544953002: content: Some code cleanup related to shared memory allocation. (Closed)
Patch Set: Created 4 years 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/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 8616dbdfd1c22b389660eb92cf4314797a34a306..75942331342ae28c2495a61f1ad1690863424e2d 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1367,8 +1367,7 @@ void RenderThreadImpl::RecordComputedAction(const std::string& action) {
std::unique_ptr<base::SharedMemory>
RenderThreadImpl::HostAllocateSharedMemoryBuffer(size_t size) {
- return ChildThreadImpl::AllocateSharedMemory(size, thread_safe_sender(),
- nullptr);
+ return ChildThreadImpl::AllocateSharedMemory(size);
}
cc::SharedBitmapManager* RenderThreadImpl::GetSharedBitmapManager() {

Powered by Google App Engine
This is Rietveld 408576698