Chromium Code Reviews
DescriptionMac: forward declare CIQRCodeFeature in base/mac/sdk_forward_declarations.h
CIQRCodeFeature [1] is an interface in the CoreImage framework (which at a time
was part of the QuartzCore framework) and is used to detect QR Codes in
images. CIQRCodeFeature is only available in Mac OS X 10.10+, which is fine
for the bots bug causes warnings elsewhere:
.../CoreImage.framework/Headers/CIFeature.h:113:12: note: 'CIQRCodeFeature' has been explicitly marked partial here
@interface CIQRCodeFeature : CIFeature
^
../../services/shape_detection/barcode_detection_impl_mac.mm:69:8: note: enclose 'CIQRCodeFeature' in an @available check to silence this warning
This CL adds it to sdk_forward_declarations so it's forward-defined when
needed.
[1] https://developer.apple.com/reference/coreimage/ciqrcodefeature?language=objc
BUG=665150
TBR=rockot
Review-Url: https://codereview.chromium.org/2667283006
Cr-Commit-Position: refs/heads/master@{#448092}
Committed: https://chromium.googlesource.com/chromium/src/+/7058aa1630b1508762a87d3fee3918e42c3046f7
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Small mods after repro'ing locally #
Messages
Total messages: 21 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||