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

Unified Diff: components/bitmap_uploader/bitmap_uploader.cc

Issue 2080383002: cc/ipc: Move CompositorFrame mojoms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated owners Created 4 years, 6 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
Index: components/bitmap_uploader/bitmap_uploader.cc
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index b79de436a05b87b6a341997eb380d7d2cde9fa85..f623ade4f8d21c8d31ae90b1f7242943317962d4 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -9,6 +9,7 @@
#include "base/bind.h"
#include "base/callback.h"
+#include "cc/ipc/compositor_frame.mojom.h"
#include "components/mus/public/cpp/gles2_context.h"
#include "components/mus/public/cpp/surfaces/surfaces_type_converters.h"
#include "components/mus/public/cpp/surfaces/surfaces_utils.h"
@@ -72,7 +73,7 @@ void BitmapUploader::SetBitmap(int width,
void BitmapUploader::Upload() {
const gfx::Rect bounds(window_->bounds());
cc::mojom::RenderPassPtr pass = mojo::CreateDefaultPass(1, bounds);
- mus::mojom::CompositorFramePtr frame = mus::mojom::CompositorFrame::New();
+ cc::mojom::CompositorFramePtr frame = cc::mojom::CompositorFrame::New();
// TODO(rjkroege): Support device scale factor in PDF viewer
frame->metadata.device_scale_factor = 1.0f;
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.h ('k') | components/mus/gpu/display_compositor/compositor_frame_sink_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698