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

Unified Diff: content/renderer/presentation/presentation_dispatcher.cc

Issue 1457963002: Use scoped_ptr instead of linked_ptr from /content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android compile error Created 5 years, 1 month 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/renderer/presentation/presentation_dispatcher.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/presentation/presentation_dispatcher.cc
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
index 4826e5ad1f577f079df01715cd71001d86a1d0b2..8eb8cf934b5a55be4a6bf9cd0f94ff809366efc4 100644
--- a/content/renderer/presentation/presentation_dispatcher.cc
+++ b/content/renderer/presentation/presentation_dispatcher.cc
@@ -125,7 +125,7 @@ void PresentationDispatcher::sendString(
return;
}
- message_request_queue_.push(make_linked_ptr(
+ message_request_queue_.push(make_scoped_ptr(
CreateSendTextMessageRequest(presentationUrl, presentationId, message)));
// Start processing request if only one in the queue.
if (message_request_queue_.size() == 1)
@@ -144,7 +144,7 @@ void PresentationDispatcher::sendArrayBuffer(
return;
}
- message_request_queue_.push(make_linked_ptr(
+ message_request_queue_.push(make_scoped_ptr(
CreateSendBinaryMessageRequest(presentationUrl, presentationId,
presentation::PresentationMessageType::
PRESENTATION_MESSAGE_TYPE_ARRAY_BUFFER,
@@ -166,7 +166,7 @@ void PresentationDispatcher::sendBlobData(
return;
}
- message_request_queue_.push(make_linked_ptr(CreateSendBinaryMessageRequest(
+ message_request_queue_.push(make_scoped_ptr(CreateSendBinaryMessageRequest(
presentationUrl, presentationId,
presentation::PresentationMessageType::PRESENTATION_MESSAGE_TYPE_BLOB,
data, length)));
« no previous file with comments | « content/renderer/presentation/presentation_dispatcher.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698