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

Unified Diff: content/test/dwrite_font_fake_sender_win.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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/test/content_test_suite.h ('k') | content/test/dwrite_font_fake_sender_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/dwrite_font_fake_sender_win.h
diff --git a/content/test/dwrite_font_fake_sender_win.h b/content/test/dwrite_font_fake_sender_win.h
index dd5a7b228d4dce2d097dfb1984933fa849591f38..aa0e0a0a108b8004e94611aa771c288160efe23f 100644
--- a/content/test/dwrite_font_fake_sender_win.h
+++ b/content/test/dwrite_font_fake_sender_win.h
@@ -9,12 +9,12 @@
#include <stdint.h>
#include <wrl.h>
+#include <memory>
#include <utility>
#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sender.h"
@@ -97,7 +97,7 @@ class FakeFontCollection : public base::RefCounted<FakeFontCollection> {
~ReplySender() override;
- scoped_ptr<IPC::Message>& OnMessageReceived(const IPC::Message& msg);
+ std::unique_ptr<IPC::Message>& OnMessageReceived(const IPC::Message& msg);
bool Send(IPC::Message* msg) override;
@@ -114,7 +114,7 @@ class FakeFontCollection : public base::RefCounted<FakeFontCollection> {
private:
scoped_refptr<FakeFontCollection> collection_;
- scoped_ptr<IPC::Message> reply_;
+ std::unique_ptr<IPC::Message> reply_;
DISALLOW_COPY_AND_ASSIGN(ReplySender);
};
« no previous file with comments | « content/test/content_test_suite.h ('k') | content/test/dwrite_font_fake_sender_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698