Index: components/native_viewport/native_viewport_application_delegate.cc |
diff --git a/components/native_viewport/native_viewport_application_delegate.cc b/components/native_viewport/native_viewport_application_delegate.cc |
index f77a944efef1a27f5ab982c06ed2a89da28cdd65..8927d2ada79653c970de2411e6d19d7afee0e073 100644 |
--- a/components/native_viewport/native_viewport_application_delegate.cc |
+++ b/components/native_viewport/native_viewport_application_delegate.cc |
@@ -49,7 +49,8 @@ void NativeViewportApplicationDelegate::Create( |
mojo::InterfaceRequest<mojo::NativeViewport> request) { |
if (!gpu_state_.get()) |
gpu_state_ = new gles2::GpuState; |
- new NativeViewportImpl(is_headless_, gpu_state_, request.Pass()); |
+ new NativeViewportImpl(is_headless_, gpu_state_, request.Pass(), |
+ app_lifetime_helper_.CreateAppRefCount()); |
} |
void NativeViewportApplicationDelegate::Create( |