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

Unified Diff: content/renderer/gpu/transport_texture_host.h

Issue 8554001: base::Bind: Convert content/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix. 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 | « content/renderer/gpu/gpu_channel_host.cc ('k') | content/renderer/gpu/transport_texture_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/transport_texture_host.h
diff --git a/content/renderer/gpu/transport_texture_host.h b/content/renderer/gpu/transport_texture_host.h
index 71e90c8b411ef80d22b3f4335d9b341776cb065a..333a7169c746662a7b34932df7fa00512eb0558c 100644
--- a/content/renderer/gpu/transport_texture_host.h
+++ b/content/renderer/gpu/transport_texture_host.h
@@ -52,16 +52,16 @@
// void MyObjectInitDone() {
// std::vector<int> textures;
// factory_host.GetTextures(
-// NewCallback(&handler, &TextureUpdateHandler::OnTextureUpdate),
+// base::Bind(&TextureUpdateHandler::OnTextureUpdate, &handler),
// &textures);
// }
//
// void InitDone() {
// InitMyObjectInGPUProcess(factory_host.GetPeerId(),
-// NewRunnableFunction(&MyObjectInitDone));
+// base::Bind(&MyObjectInitDone));
// }
//
-// factory_host.Init(NewRunnableFunction(&InitDone));
+// factory_host.Init(base::Bind(&InitDone));
//
// ----------------------
// | In the GPU process |
@@ -83,8 +83,7 @@
//
// void OnInit() {
// factory->CreateTextures(3, 1024, 768, TransportTexture::RGB, &textures,
-// NewRunnableFunction(&TextureCreateDone),
-// textures);
+// base::Bind(&TextureCreateDone), textures);
// }
#ifndef CONTENT_RENDERER_GPU_TRANSPORT_TEXTURE_HOST_H_
« no previous file with comments | « content/renderer/gpu/gpu_channel_host.cc ('k') | content/renderer/gpu/transport_texture_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698