Chromium Code Reviews| Index: services/shape_detection/detection_utils_mac.h |
| diff --git a/services/shape_detection/detection_utils_mac.h b/services/shape_detection/detection_utils_mac.h |
| index 98e3c0fc3c14f85976fc6cb9122ab98f6294ef35..07014293ff02cb64a85fce63c7044e75e66322a2 100644 |
| --- a/services/shape_detection/detection_utils_mac.h |
| +++ b/services/shape_detection/detection_utils_mac.h |
| @@ -9,15 +9,14 @@ |
| #include "base/mac/scoped_nsobject.h" |
| #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
| +#include "third_party/skia/include/core/SkBitmap.h" |
| namespace shape_detection { |
| // Takes a ScopedSharedBufferHandle with dimensions and produces a new CIImage |
| // with the same contents, or a null scoped_nsobject is something goes wrong. |
| -base::scoped_nsobject<CIImage> CreateCIImageFromSharedMemory( |
| - mojo::ScopedSharedBufferHandle frame_data, |
| - uint32_t width, |
| - uint32_t height); |
| +base::scoped_nsobject<CIImage> CreateCIImageFromData( |
|
mcasas
2017/02/07 19:04:44
s/CreateCIImageFromData/CreateCIImageFromSkBitmap/
|
| + const SkBitmap& bitmap_data); |
| } // namespace shape_detection |