| Index: sky/shell/ios/sky_view_controller.mm
|
| diff --git a/sky/shell/ios/sky_view_controller.mm b/sky/shell/ios/sky_view_controller.mm
|
| index ee2e38ad762b1c9ac9ed8e7e7c3620ef789f4671..24bfef1c065e208c7f8d9b3f31472b4f60034075 100644
|
| --- a/sky/shell/ios/sky_view_controller.mm
|
| +++ b/sky/shell/ios/sky_view_controller.mm
|
| @@ -8,10 +8,14 @@
|
| #import <UIKit/UIKit.h>
|
| #import <QuartzCore/QuartzCore.h>
|
|
|
| +#include "sky/shell/shell_view.h"
|
| +
|
| @implementation SkyViewController
|
|
|
| - (void)loadView {
|
| - SkySurface* surface = [[SkySurface alloc] init];
|
| +
|
| + ShellView* shell_view = new sky::shell::ShellView(sky::shell::Shell::Shared());
|
| + SkySurface* surface = [[SkySurface alloc] initWithShellView: shell_view];
|
|
|
| surface.autoresizingMask =
|
| UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
|
|