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

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

Issue 1229093002: [Sky] Fix iOS build breaks (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/BUILD.gn ('k') | no next file » | 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 518c9cc3b5e12d166aa9da12408ed4bc3c5c553b..1cb1fe0d5468291a6f94d1c9268e3291fc5bb8fa 100644
--- a/sky/shell/ios/sky_surface.mm
+++ b/sky/shell/ios/sky_surface.mm
@@ -86,7 +86,7 @@ static sky::InputEventPtr BasicInputEventFromRecognizer(
CGSize size = self.bounds.size;
CGFloat scale = [UIScreen mainScreen].scale;
- ViewportMetricsPtr metrics = ViewportMetrics::New();
+ sky::ViewportMetricsPtr metrics = sky::ViewportMetrics::New();
metrics->physical_width = size.width * scale;
metrics->physical_height = size.height * scale;
metrics->device_pixel_ratio = scale;
« no previous file with comments | « sky/shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698