Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: extensions/browser/guest_view/web_view/web_view_find_helper.cc

Issue 1991083002: Remove ExtensionFunction::SetResult(T*) overload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c7339e1eda9fe665602df675838064614deb8cb9..82a335f8c2f0d61c3bc55afee64118b68d901d35 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
@@ -282,7 +282,7 @@ void WebViewFindHelper::FindInfo::SendResponse(bool canceled) {
results.SetBoolean(webview::kFindCanceled, canceled);
// Call the callback.
- find_function_->SetResult(results.DeepCopy());
+ find_function_->SetResult(results.CreateDeepCopy());
find_function_->SendResponse(true);
}
« chrome/browser/extensions/extension_tab_util.cc ('K') | « extensions/browser/extension_function.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698