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

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

Issue 11519045: Remove unused gpu message fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 624d257cee6e7e242eb882f4c085167dab3b9f69..81ee608adebc351dafde63009d3c8d056190805b 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -978,13 +978,11 @@ bool RenderWidgetHostViewAura::HasAcceleratedSurface(
// TODO(backer): Drop the |shm_handle| once I remove some unused service side
// code.
void RenderWidgetHostViewAura::AcceleratedSurfaceNew(
- int32 width_in_pixel,
- int32 height_in_pixel,
uint64 surface_handle,
const std::string& mailbox_name) {
ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
scoped_refptr<ui::Texture> surface(factory->CreateTransportClient(
- gfx::Size(width_in_pixel, height_in_pixel), device_scale_factor_,
+ gfx::Size(0, 0), device_scale_factor_,
mailbox_name));
if (!surface) {
LOG(ERROR) << "Failed to create ImageTransport texture";

Powered by Google App Engine
This is Rietveld 408576698