| Index: third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| index 1d6ad2742d6e179c8750a2510500e0939bfe1f5e..45e49a035ac9356adf1c8faf8c863772f3f23bc4 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| @@ -51,9 +51,8 @@ void TextDetector::OnDetectText(
|
| for (const auto& text : text_detection_results) {
|
| detected_text.push_back(DetectedText::Create(
|
| text->raw_value,
|
| - DOMRect::Create(text->bounding_box->x, text->bounding_box->y,
|
| - text->bounding_box->width,
|
| - text->bounding_box->height)));
|
| + DOMRect::Create(text->bounding_box.x, text->bounding_box.y,
|
| + text->bounding_box.width, text->bounding_box.height)));
|
| }
|
|
|
| resolver->Resolve(detected_text);
|
|
|