summaryrefslogtreecommitdiffstats
path: root/third_party/mojo_services
diff options
context:
space:
mode:
authorvchigrin <vchigrin@yandex-team.ru>2015-01-30 15:51:32 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-30 23:52:51 +0000
commit61944aec76677366442bacbf6b60cccf1508bca3 (patch)
tree427e68f488cb21ee0ebaf46f8d4e51516a1f3186 /third_party/mojo_services
parentf3f0784e90e8d4a26b1aa3d57e435a01b44a99a2 (diff)
downloadchromium_src-61944aec76677366442bacbf6b60cccf1508bca3.zip
chromium_src-61944aec76677366442bacbf6b60cccf1508bca3.tar.gz
chromium_src-61944aec76677366442bacbf6b60cccf1508bca3.tar.bz2
Fix chrome target in Windows GN build.
Review URL: https://codereview.chromium.org/874033003 Cr-Commit-Position: refs/heads/master@{#314031}
Diffstat (limited to 'third_party/mojo_services')
-rw-r--r--third_party/mojo_services/src/view_manager/public/cpp/lib/view.cc2
1 files changed, 1 insertions, 1 deletions
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 f7e7784..d347292 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();
}
}