Pass LocalSurfaceId by const ref
RenderWidgetHostViewBase::GetLocalSurfaceId passed the viz::LocalSurfaceId by value. LocalSurfaceId is large and so copying it around is expensive. This CL returns a const ref of LocalSurfaceId instead to reduce copying. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: Ic775202ef5572676e056bd41419edbaefb7e44da Bug: 672962 Change-Id: Ic775202ef5572676e056bd41419edbaefb7e44da Reviewed-on: https://chromium-review.googlesource.com/1141990Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#576281}
Showing
Please register or sign in to comment