Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: sky/shell/ios/sky_surface.mm

Issue 1188633002: Fix iOS builds after ShellView refactor on Android (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/shell/ios/sky_surface.h ('k') | sky/shell/ios/sky_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ios/sky_surface.mm
diff --git a/sky/shell/ios/sky_surface.mm b/sky/shell/ios/sky_surface.mm
index e6629ed8b2099f0e18ee6ae4bfa967dea0d5fced..c04a30351cbf8ee51725aa99d30d639c208980a8 100644
--- a/sky/shell/ios/sky_surface.mm
+++ b/sky/shell/ios/sky_surface.mm
@@ -103,9 +103,8 @@ static inline sky::EventType EventTypeFromUITouchPhase(UITouchPhase phase) {
}
- (void)connectToViewportObserverAndLoad {
- auto view = static_cast<sky::shell::PlatformViewIOS*>(_shell_view->view());
auto interface_request = mojo::GetProxy(&_viewport_observer);
- view->ConnectToViewportObserver(interface_request.Pass());
+ self.platformView->ConnectToViewportObserver(interface_request.Pass());
mojo::String string(self.skyInitialLoadURL.UTF8String);
_viewport_observer->LoadURL(string);
« no previous file with comments | « sky/shell/ios/sky_surface.h ('k') | sky/shell/ios/sky_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698