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

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

Issue 2818563006: ShapeDetection: Holding all of mock service to prevent GC (Closed)
Patch Set: ShapeDetection: Make sure tests are running serially Created 3 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 | « third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js
diff --git a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js
index 1faf89f7727c4a8bcbeb293978e3c643e5d2693a..76400577ecbcfc22bbaa2ce20bb24d7ad7b9fde1 100644
--- a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js
+++ b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-facedetection.js
@@ -24,7 +24,7 @@ let mockFaceDetectionProviderReady = define(
}
getFrameData() {
- return this.mock_service_.buffer_data_;
+ return this.mock_service_.bufferData_;
}
getMaxDetectedFaces() {
@@ -46,7 +46,7 @@ let mockFaceDetectionProviderReady = define(
detect(frame_data, width, height) {
let receivedStruct = mojo.mapBuffer(frame_data, 0, width*height*4, 0);
- this.buffer_data_ = new Uint32Array(receivedStruct.buffer);
+ this.bufferData_ = new Uint32Array(receivedStruct.buffer);
return Promise.resolve({
result: {
bounding_boxes: [
« no previous file with comments | « third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698