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

Unified Diff: components/view_manager/gles2/command_buffer_local.cc

Issue 1278333003: Fix crash caused by concurrent access to framebuffer_combo_complete_map_. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 4 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 | « components/view_manager/gles2/command_buffer_driver.cc ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/gles2/command_buffer_local.cc
diff --git a/components/view_manager/gles2/command_buffer_local.cc b/components/view_manager/gles2/command_buffer_local.cc
index ec6b2fc242d7cd30fdbf564cf58429663e23e676..b3699253d788dc48e2f325d30e1a102db05cf326 100644
--- a/components/view_manager/gles2/command_buffer_local.cc
+++ b/components/view_manager/gles2/command_buffer_local.cc
@@ -76,8 +76,9 @@ bool CommandBufferLocal::Initialize() {
scoped_refptr<gpu::gles2::ContextGroup> context_group =
new gpu::gles2::ContextGroup(
gpu_state_->mailbox_manager(), new gles2::GpuMemoryTracker,
- new gpu::gles2::ShaderTranslatorCache, nullptr, nullptr, nullptr,
- bind_generates_resource);
+ new gpu::gles2::ShaderTranslatorCache,
+ new gpu::gles2::FramebufferCompletenessCache, nullptr, nullptr,
+ nullptr, bind_generates_resource);
command_buffer_.reset(
new gpu::CommandBufferService(context_group->transfer_buffer_manager()));
« no previous file with comments | « components/view_manager/gles2/command_buffer_driver.cc ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698