Chromium Code Reviews

Unified Diff: shell/android/native_viewport_application_loader.cc

Issue 2011053003: Make PlatformViewport and NativeViewportImpl use Shell* instead of ApplicationImpl*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix android Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « services/native_viewport/platform_viewport_x11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/native_viewport_application_loader.cc
diff --git a/shell/android/native_viewport_application_loader.cc b/shell/android/native_viewport_application_loader.cc
index 35103c1f5cb1cfd5b18958f7c752d1052a9b1c36..646b9df776930ad6b6cecaff8dd781c23b500284 100644
--- a/shell/android/native_viewport_application_loader.cc
+++ b/shell/android/native_viewport_application_loader.cc
@@ -33,8 +33,8 @@ bool NativeViewportApplicationLoader::ConfigureIncomingConnection(
InterfaceRequest<mojo::NativeViewport> native_viewport_request) {
if (!gpu_state_)
gpu_state_ = new gles2::GpuState();
- new native_viewport::NativeViewportImpl(app_.get(), false, gpu_state_,
- native_viewport_request.Pass());
+ new native_viewport::NativeViewportImpl(
+ app_->shell(), false, gpu_state_, native_viewport_request.Pass());
});
service_provider_impl->AddService<mojo::Gpu>(
[this](const ConnectionContext& connection_context,
« no previous file with comments | « services/native_viewport/platform_viewport_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine