| Index: cc/surfaces/display.h
|
| diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
|
| index abc3e73e092c9dc0d84cac40a485e8f78492df1e..40973fc15c747a3510fa94fe27412ef3313c56e7 100644
|
| --- a/cc/surfaces/display.h
|
| +++ b/cc/surfaces/display.h
|
| @@ -51,7 +51,7 @@ class TextureMailboxDeleter;
|
| // surface IDs used to draw into the display and deciding when to draw.
|
| class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
|
| public OutputSurfaceClient,
|
| - public SurfaceDamageObserver {
|
| + public SurfaceObserver {
|
| public:
|
| // The |begin_frame_source| and |scheduler| may be null (together). In that
|
| // case, DrawAndSwap must be called externally when needed.
|
| @@ -99,8 +99,11 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
|
| const gfx::Rect& viewport,
|
| bool resourceless_software_draw) override;
|
|
|
| - // SurfaceDamageObserver implementation.
|
| + // SurfaceObserver implementation.
|
| void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override;
|
| + void OnSurfaceCreated(const SurfaceId& surface_id,
|
| + const gfx::Size& frame,
|
| + float device_scale_factor) override;
|
|
|
| bool has_scheduler() const { return !!scheduler_; }
|
| DirectRenderer* renderer_for_testing() const { return renderer_.get(); }
|
|
|