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; |