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

Unified Diff: mojo/examples/compositor_app/compositor_host.cc

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | « mojo/examples/compositor_app/compositor_host.h ('k') | mojo/examples/dbus_echo/dbus_echo_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/compositor_app/compositor_host.cc
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc
index 9820d557a9afe13024c55986d2639dc0b900976d..e9853643a0430eeb0e44397f74b1275678d3d83e 100644
--- a/mojo/examples/compositor_app/compositor_host.cc
+++ b/mojo/examples/compositor_app/compositor_host.cc
@@ -28,7 +28,7 @@ CompositorHost::CompositorHost(ScopedMessagePipeHandle gl_pipe)
CompositorHost::~CompositorHost() {}
-void CompositorHost::SetSize(gfx::Size viewport_size) {
+void CompositorHost::SetSize(const gfx::Size& viewport_size) {
tree_->SetViewportSize(viewport_size);
tree_->SetLayerTreeHostClientReady();
}
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.h ('k') | mojo/examples/dbus_echo/dbus_echo_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698