| Index: cc/surfaces/display.cc
|
| diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
|
| index 2e283749536e076f21fdbb64b06885ee12272aae..2a83572c9f51d24f370648f2edf22be5a87d7eef 100644
|
| --- a/cc/surfaces/display.cc
|
| +++ b/cc/surfaces/display.cc
|
| @@ -104,9 +104,9 @@ void Display::Initialize(DisplayClient* client,
|
| }
|
| }
|
|
|
| -void Display::SetLocalFrameId(const LocalFrameId& id,
|
| - float device_scale_factor) {
|
| - if (current_surface_id_.local_frame_id() == id &&
|
| +void Display::SetLocalSurfaceId(const LocalSurfaceId& id,
|
| + float device_scale_factor) {
|
| + if (current_surface_id_.local_surface_id() == id &&
|
| device_scale_factor_ == device_scale_factor) {
|
| return;
|
| }
|
|
|