Index: extensions/browser/guest_view/web_view/web_view_find_helper.cc |
diff --git a/extensions/browser/guest_view/web_view/web_view_find_helper.cc b/extensions/browser/guest_view/web_view/web_view_find_helper.cc |
index dc4c5828151960d384fca0d520f5406816ec9fcf..7c0aff0716cac161f45a500d797a8790c609eb0e 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_find_helper.cc |
+++ b/extensions/browser/guest_view/web_view/web_view_find_helper.cc |
@@ -221,7 +221,8 @@ void WebViewFindHelper::FindResults::PrepareResults( |
rect.SetInteger(webview::kFindRectTop, selection_rect_.y()); |
rect.SetInteger(webview::kFindRectWidth, selection_rect_.width()); |
rect.SetInteger(webview::kFindRectHeight, selection_rect_.height()); |
- results->Set(webview::kFindSelectionRect, rect.DeepCopy()); |
+ results->Set(webview::kFindSelectionRect, |
+ base::MakeUnique<base::Value>(std::move(rect))); |
} |
WebViewFindHelper::FindUpdateEvent::FindUpdateEvent( |