| Index: third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| index 037586df0949ead12c479b2844301c681a0e6350..eadf3eb0ae2c8255c96b8c4b276a634b3d7c8022 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| @@ -115,8 +115,8 @@ ScriptPromise FaceDetector::detectFacesOnImageElement(
|
| }
|
|
|
| const sk_sp<SkImage> image = blinkImage->imageForCurrentFrame();
|
| - DCHECK_EQ(img->naturalWidth(), image->width());
|
| - DCHECK_EQ(img->naturalHeight(), image->height());
|
| + DCHECK_EQ(img->naturalWidth(), static_cast<unsigned>(image->width()));
|
| + DCHECK_EQ(img->naturalHeight(), static_cast<unsigned>(image->height()));
|
|
|
| if (!image) {
|
| resolver->reject(DOMException::create(
|
|
|