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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 2426423004: Remove some linked_ptr from /content (Closed)
Patch Set: MakeUnique Created 4 years, 2 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
« no previous file with comments | « content/browser/download/base_file.h ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_widget_host_view_guest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index 6454b5866eb60790ee7adb87ceb0b6e27bd13134..2c924c11328d8a8c7bf855becdf71d32cff164e9 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -406,7 +406,7 @@ void RenderWidgetHostViewGuest::UpdateCursor(const WebCursor& cursor) {
if (rwhvb)
rwhvb->UpdateCursor(cursor);
} else {
- guest_->SendMessageToEmbedder(new BrowserPluginMsg_SetCursor(
+ guest_->SendMessageToEmbedder(base::MakeUnique<BrowserPluginMsg_SetCursor>(
guest_->browser_plugin_instance_id(), cursor));
}
}
« no previous file with comments | « content/browser/download/base_file.h ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698