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

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js

Issue 2167313002: ImageCapture: introduce image_capture Blob to allow move-only semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
diff --git a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
index 050a9206bd2aab00a295eacf41888a383ac602e9..679c100ab5ca88874bb74473c05f4baa6e99b0e2 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
+++ b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
@@ -33,8 +33,8 @@ let mockImageCaptureReady = define(
}
takePhoto(source_id) {
- return Promise.resolve({ mime_type : 'image/cat',
- data : "(,,,)=(^.^)=(,,,)" });
+ return Promise.resolve({ blob : { mime_type : 'image/cat',
+ data : new Array(2) } });
}
capabilities() {

Powered by Google App Engine
This is Rietveld 408576698