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

Unified Diff: third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc

Issue 874033003: Fix chrome target in Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc
diff --git a/third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc b/third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc
index f7e77844ce9cfbd191051b8594da239aa3b71cce..d347292de47b3c8e29c6c1b7b612143760863e7f 100644
--- a/third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc
+++ b/third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc
@@ -387,7 +387,7 @@ namespace {
ViewportMetricsPtr CreateEmptyViewportMetrics() {
ViewportMetricsPtr metrics = ViewportMetrics::New();
metrics->size = Size::New();
- return metrics;
+ return metrics.Pass();
Slava Chigrin 2015/01/30 16:29:31 Causes build errors due to private copy constructo
brettw 2015/01/30 19:31:23 Yeah, Mojo on Windows is "interesting".
}
}

Powered by Google App Engine
This is Rietveld 408576698