Chromium Code Reviews| Index: gpu/ipc/service/child_window_surface_win.h |
| diff --git a/gpu/ipc/service/child_window_surface_win.h b/gpu/ipc/service/child_window_surface_win.h |
| index 38f4a450cf4b6cef7b976e0d89dc23fb9996dedc..4c9db1e13353415b423e1214ec7893996b8bf93c 100644 |
| --- a/gpu/ipc/service/child_window_surface_win.h |
| +++ b/gpu/ipc/service/child_window_surface_win.h |
| @@ -12,6 +12,7 @@ |
| namespace gpu { |
| class GpuChannelManager; |
| +struct SharedData; |
| class ChildWindowSurfaceWin : public gl::NativeViewGLSurfaceEGL { |
| public: |
| @@ -26,17 +27,15 @@ class ChildWindowSurfaceWin : public gl::NativeViewGLSurfaceEGL { |
| gfx::SwapResult SwapBuffers() override; |
| gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override; |
| - void InvalidateWindowRect(const gfx::Rect& rect); |
| - |
| protected: |
| ~ChildWindowSurfaceWin() override; |
| private: |
| void ClearInvalidContents(); |
| + std::unique_ptr<SharedData> shared_data_; |
|
stanisc
2016/08/04 02:03:35
Since this class is multi-threaded now it would be
jbauman
2016/08/04 20:45:51
Ok, mentioned that shared_data_ is the only thing
|
| HWND parent_window_; |
| GpuChannelManager* manager_; |
| - gfx::Rect rect_to_clear_; |
| bool alpha_; |
| bool first_swap_; |