Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: services/ui/demo/bitmap_uploader.cc

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/demo/bitmap_uploader.h ('k') | services/ui/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/bitmap_uploader.cc
diff --git a/services/ui/demo/bitmap_uploader.cc b/services/ui/demo/bitmap_uploader.cc
index b5253bb4f1a5d72483952f7e1b8f4b8cd0c00a74..a0c7b3f775d1f230ff0fe6af6d8c2d7e478cb7a9 100644
--- a/services/ui/demo/bitmap_uploader.cc
+++ b/services/ui/demo/bitmap_uploader.cc
@@ -18,7 +18,6 @@
#include "services/ui/public/cpp/gles2_context.h"
#include "services/ui/public/cpp/gpu_service.h"
#include "services/ui/public/cpp/window.h"
-#include "services/ui/public/cpp/window_surface.h"
namespace ui {
namespace {
@@ -176,8 +175,8 @@ void BitmapUploader::Upload() {
void BitmapUploader::OnGpuChannelEstablished(
scoped_refptr<gpu::GpuChannelHost> gpu_channel) {
compositor_frame_sink_ = window_->RequestCompositorFrameSink(
- mojom::SurfaceType::DEFAULT,
- new ContextProvider(gpu_channel));
+ mojom::CompositorFrameSinkType::DEFAULT,
+ new ContextProvider(std::move(gpu_channel)));
compositor_frame_sink_->BindToClient(this);
}
« no previous file with comments | « services/ui/demo/bitmap_uploader.h ('k') | services/ui/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698