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

Unified Diff: ui/gfx/win/direct_write.cc

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 Created 3 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
« no previous file with comments | « ui/gfx/win/direct_manipulation.cc ('k') | ui/gl/gl_angle_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/direct_write.cc
diff --git a/ui/gfx/win/direct_write.cc b/ui/gfx/win/direct_write.cc
index 341ffe9f013c379b17a3be57d5f9df7b10425a6b..5680ecc92c6f73bae91ee051bda3bb1eab5a964e 100644
--- a/ui/gfx/win/direct_write.cc
+++ b/ui/gfx/win/direct_write.cc
@@ -23,7 +23,7 @@ void CreateDWriteFactory(IDWriteFactory** factory) {
base::win::ScopedComPtr<IUnknown> factory_unknown;
HRESULT hr =
DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory),
- factory_unknown.Receive());
+ factory_unknown.GetAddressOf());
if (FAILED(hr)) {
base::debug::Alias(&hr);
CHECK(false);
@@ -44,7 +44,7 @@ void MaybeInitializeDirectWrite() {
}
base::win::ScopedComPtr<IDWriteFactory> factory;
- CreateDWriteFactory(factory.Receive());
+ CreateDWriteFactory(factory.GetAddressOf());
if (!factory)
return;
« no previous file with comments | « ui/gfx/win/direct_manipulation.cc ('k') | ui/gl/gl_angle_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698