diff options
Diffstat (limited to 'mojo/examples/surfaces_app/embedder.cc')
-rw-r--r-- | mojo/examples/surfaces_app/embedder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mojo/examples/surfaces_app/embedder.cc b/mojo/examples/surfaces_app/embedder.cc index 1a620d0..a23a958 100644 --- a/mojo/examples/surfaces_app/embedder.cc +++ b/mojo/examples/surfaces_app/embedder.cc @@ -26,7 +26,7 @@ using cc::SolidColorDrawQuad; using cc::DelegatedFrameData; using cc::CompositorFrame; -Embedder::Embedder(surfaces::Surface* surface) : surface_(surface) { +Embedder::Embedder(Surface* surface) : surface_(surface) { } Embedder::~Embedder() { @@ -84,8 +84,8 @@ void Embedder::ProduceFrame(cc::SurfaceId child_one, scoped_ptr<CompositorFrame> frame(new CompositorFrame); frame->delegated_frame_data = delegated_frame_data.Pass(); - surface_->SubmitFrame(mojo::surfaces::SurfaceId::From(id_), - mojo::surfaces::Frame::From(*frame)); + surface_->SubmitFrame(mojo::SurfaceId::From(id_), + mojo::Frame::From(*frame)); } } // namespace examples |