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

Unified Diff: services/ui/launcher/launch_instance.cc

Issue 1997513002: Mozart: Generalize frame scheduling. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-jank2
Patch Set: add comments Created 4 years, 7 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/gfx/compositor/tests/scheduling_apptest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/launcher/launch_instance.cc
diff --git a/services/ui/launcher/launch_instance.cc b/services/ui/launcher/launch_instance.cc
index 82169cba0dc0584f70bb7987f39374f36f599828..c8ed4f3a34c77037c2bccbad3dbe7b7414820a31 100644
--- a/services/ui/launcher/launch_instance.cc
+++ b/services/ui/launcher/launch_instance.cc
@@ -62,7 +62,7 @@ void LaunchInstance::InitViewport() {
auto requested_configuration = mojo::SurfaceConfiguration::New();
viewport_->Create(
- size.Clone(), requested_configuration.Pass(),
+ size.Pass(), requested_configuration.Pass(),
base::Bind(&LaunchInstance::OnViewportCreated, base::Unretained(this)));
}
« no previous file with comments | « services/gfx/compositor/tests/scheduling_apptest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698