| Index: cc/surfaces/surface_factory.cc
|
| diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
|
| index 75c46bee160c86c94999cd748f7601185d9f8b34..8a859f66f277744c60564312909d08e7f588cf97 100644
|
| --- a/cc/surfaces/surface_factory.cc
|
| +++ b/cc/surfaces/surface_factory.cc
|
| @@ -12,6 +12,7 @@
|
| #include "cc/output/copy_output_request.h"
|
| #include "cc/surfaces/surface.h"
|
| #include "cc/surfaces/surface_factory_client.h"
|
| +#include "cc/surfaces/surface_info.h"
|
| #include "cc/surfaces/surface_manager.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| @@ -67,8 +68,8 @@ void SurfaceFactory::SubmitCompositorFrame(const LocalFrameId& local_frame_id,
|
| // CompositorFrames may not be populated with a RenderPass in unit tests.
|
| if (!frame.render_pass_list.empty())
|
| frame_size = frame.render_pass_list[0]->output_rect.size();
|
| - manager_->SurfaceCreated(surface->surface_id(), frame_size,
|
| - frame.metadata.device_scale_factor);
|
| + manager_->SurfaceCreated(SurfaceInfo(
|
| + surface->surface_id(), frame.metadata.device_scale_factor, frame_size));
|
| }
|
| surface->QueueFrame(std::move(frame), callback);
|
| if (!manager_->SurfaceModified(SurfaceId(frame_sink_id_, local_frame_id))) {
|
|
|