| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 5766f5e3cbc4e2fbf79bbe9831f37b7be7fe6db0..cacdbad4c8008960d977b41cc345a2b06216ce86 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -2813,9 +2813,9 @@ WebURL RenderViewImpl::detectContentIntentAt(
|
| // Process the position with all the registered content detectors until
|
| // a match is found. Priority is provided by their relative order.
|
| for (const auto& detector : content_detectors_) {
|
| - ContentDetector::Result content = detector->FindTappedContent(touch_hit);
|
| - if (content.valid) {
|
| - return content.intent_url;
|
| + WebURL intent = detector->FindTappedContent(touch_hit);
|
| + if (intent.isValid()) {
|
| + return intent;
|
| }
|
| }
|
| return WebURL();
|
|
|