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

Unified Diff: gpu/gles2_conform_support/egl/display.cc

Issue 8586048: base::Bind() conversion for remaining GPU files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 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 | « gpu/demos/framework/window.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index fad076bd17e290430853245d16aafc8184e4b831..18c9727581fb9b6aa3ac9b09fc1e898673cef4f7 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -5,6 +5,8 @@
#include "gpu/gles2_conform_support/egl/display.h"
#include <vector>
+#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "gpu/command_buffer/client/gles2_lib.h"
#include "gpu/command_buffer/service/context_group.h"
#include "gpu/gles2_conform_support/egl/config.h"
@@ -134,7 +136,8 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
}
command_buffer_->SetPutOffsetChangeCallback(
- NewCallback(gpu_scheduler_.get(), &gpu::GpuScheduler::PutChanged));
+ base::Bind(&gpu::GpuScheduler::PutChanged,
+ base::Unretained(gpu_scheduler_.get())));
surface_.reset(new Surface(win));
« no previous file with comments | « gpu/demos/framework/window.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698