Index: mojo/services/public/cpp/view_manager/lib/view.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view.cc b/mojo/services/public/cpp/view_manager/lib/view.cc |
index d2f6f54efb84b7909a3bf1a7bd1aba622dc13218..797e8d519e32795910a15f6c4232aa95adbdbe1f 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view.cc |
@@ -291,6 +291,12 @@ View* View::GetChildById(Id id) { |
return NULL; |
} |
+void View::SetSurfaceId(SurfaceIdPtr id) { |
+ if (manager_) { |
+ static_cast<ViewManagerClientImpl*>(manager_)->SetSurfaceId(id_, id.Pass()); |
+ } |
+} |
+ |
void View::SetContents(const SkBitmap& contents) { |
if (manager_) { |
static_cast<ViewManagerClientImpl*>(manager_)->SetViewContents(id_, |