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

Unified Diff: content/browser/renderer_host/image_transport_factory.cc

Issue 10696221: Aura: Less image transport IPCs and less code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 5 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/browser/renderer_host/image_transport_factory.cc
diff --git a/content/browser/renderer_host/image_transport_factory.cc b/content/browser/renderer_host/image_transport_factory.cc
index a9112fe2194ccb05dcb5c0d2737e4df0eafad9e9..e05bd17d01e7a3f312c16e20df33f3e2b2e3095d 100644
--- a/content/browser/renderer_host/image_transport_factory.cc
+++ b/content/browser/renderer_host/image_transport_factory.cc
@@ -57,7 +57,7 @@ class DefaultTransportFactory
virtual scoped_refptr<ui::Texture> CreateTransportClient(
const gfx::Size& size,
- uint64* transport_handle,
+ uint64 transport_handle,
ui::Compositor* compositor) OVERRIDE {
return NULL;
}
@@ -221,13 +221,13 @@ class GpuProcessTransportFactory : public ui::ContextFactory,
virtual scoped_refptr<ui::Texture> CreateTransportClient(
const gfx::Size& size,
- uint64* transport_handle,
+ uint64 transport_handle,
ui::Compositor* compositor) {
PerCompositorData* data = per_compositor_data_[compositor];
DCHECK(data);
scoped_refptr<ImageTransportClientTexture> image(
new ImageTransportClientTexture(data->shared_context.get(),
- size, *transport_handle));
+ size, transport_handle));
return image;
}
« no previous file with comments | « content/browser/renderer_host/image_transport_factory.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698