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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/TextDetector.idl

Issue 2670823004: ShapeDetection: add UseCounter for TextDetector.detect() calls (Closed)
Patch Set: Created 3 years, 10 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/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/shapedetection/TextDetector.idl
diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.idl b/third_party/WebKit/Source/modules/shapedetection/TextDetector.idl
index 12a201f61a99178f2984a38f310315d0cd42a779..a6d099fcaa0725c165a9854d2cd5b67099e71f6e 100644
--- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.idl
@@ -9,5 +9,5 @@
Exposed=(Window,Worker),
RuntimeEnabled=ShapeDetection,
] interface TextDetector {
- [CallWith=ScriptState] Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
+ [CallWith=ScriptState, Measure] Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698