Index: mojo/services/view_manager/cpp/lib/view.cc |
diff --git a/mojo/services/view_manager/cpp/lib/view.cc b/mojo/services/view_manager/cpp/lib/view.cc |
index a42fa1285c2b9a1de36acd8f821fd310a61ff893..aa4b30e1de66386fc93e455433e3121f1445a35c 100644 |
--- a/mojo/services/view_manager/cpp/lib/view.cc |
+++ b/mojo/services/view_manager/cpp/lib/view.cc |
@@ -377,9 +377,7 @@ namespace { |
ViewportMetricsPtr CreateEmptyViewportMetrics() { |
ViewportMetricsPtr metrics = ViewportMetrics::New(); |
metrics->size = Size::New(); |
- // TODO(vtl): The |.Pass()| below is only needed due to an MSVS bug; remove it |
- // once that's fixed. |
- return metrics.Pass(); |
+ return metrics; |
} |
} // namespace |