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

Unified Diff: components/mus/public/cpp/lib/window_surface.cc

Issue 2092843002: Implement CompositorFrame Struct Traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed dcheng's comments 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
« no previous file with comments | « components/mus/public/cpp/lib/output_surface.cc ('k') | components/mus/public/cpp/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_surface.cc
diff --git a/components/mus/public/cpp/lib/window_surface.cc b/components/mus/public/cpp/lib/window_surface.cc
index 32f17772ddab13eea1784f504e4694350f0517da..1f0b840a1026a8a872742ea89a6c90b809e3c79d 100644
--- a/components/mus/public/cpp/lib/window_surface.cc
+++ b/components/mus/public/cpp/lib/window_surface.cc
@@ -5,7 +5,6 @@
#include "components/mus/public/cpp/window_surface.h"
#include "base/memory/ptr_util.h"
-#include "components/mus/public/cpp/surfaces/surfaces_type_converters.h"
#include "components/mus/public/cpp/window_surface_client.h"
namespace mus {
@@ -34,7 +33,7 @@ void WindowSurface::BindToThread() {
this, std::move(client_request_)));
}
-void WindowSurface::SubmitCompositorFrame(cc::mojom::CompositorFramePtr frame,
+void WindowSurface::SubmitCompositorFrame(cc::CompositorFrame frame,
const base::Closure& callback) {
DCHECK(thread_checker_);
DCHECK(thread_checker_->CalledOnValidThread());
« no previous file with comments | « components/mus/public/cpp/lib/output_surface.cc ('k') | components/mus/public/cpp/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698