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

Unified Diff: examples/dart/camera_video/lib/main.dart

Issue 1964193002: Dart: Refactors Proxies (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address comments Created 4 years, 7 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 | « examples/dart/camera_roll/lib/main.dart ('k') | examples/dart/device_info/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/dart/camera_video/lib/main.dart
diff --git a/examples/dart/camera_video/lib/main.dart b/examples/dart/camera_video/lib/main.dart
index 30eb7a6863382d5508bb3bf2d8425c6894bfa321..e77e3b51d45625094cc01eb711a548df0d3450f1 100644
--- a/examples/dart/camera_video/lib/main.dart
+++ b/examples/dart/camera_video/lib/main.dart
@@ -62,7 +62,7 @@ void beginFrame(double timeStamp) {
}
void drawNextPhoto() {
- var future = camera.ptr.getLatestFrame();
+ var future = camera.getLatestFrame();
future.then((response) {
if (response.content == null) {
drawNextPhoto();
« no previous file with comments | « examples/dart/camera_roll/lib/main.dart ('k') | examples/dart/device_info/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698