Index: content/common/gpu/image_transport_surface.cc |
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc |
index 18689b85dfa818f1bf3a6d1383b37514f097ae3d..1378f90df63591121c1cc9abda44518a5b7c6601 100644 |
--- a/content/common/gpu/image_transport_surface.cc |
+++ b/content/common/gpu/image_transport_surface.cc |
@@ -322,6 +322,7 @@ void PassThroughImageTransportSurface::OnResizeViewACK() { |
DCHECK(transport_); |
Resize(new_size_); |
+ TRACE_EVENT_ASYNC_END0("gpu", "OnResize", this); |
helper_->SetScheduled(true); |
} |
@@ -331,6 +332,8 @@ void PassThroughImageTransportSurface::OnResize(gfx::Size size) { |
if (transport_) { |
helper_->SendResizeView(size); |
helper_->SetScheduled(false); |
+ TRACE_EVENT_ASYNC_BEGIN2("gpu", "OnResize", this, |
+ "width", size.width(), "height", size.height()); |
} else { |
Resize(new_size_); |
} |