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

Unified Diff: ui/gfx/font_fallback_win.cc

Issue 2864523002: Rename ScopedComPtr::QueryInterface to ScopedComPtr::CopyTo (Closed)
Patch Set: 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/accessibility/platform/ax_platform_node_win.cc ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_fallback_win.cc
diff --git a/ui/gfx/font_fallback_win.cc b/ui/gfx/font_fallback_win.cc
index 6352cfe48569d7c0f7b7c1676d4fb744f9f909af..d01547d38b63f2126919c2fccac2b04f8aaa0b2f 100644
--- a/ui/gfx/font_fallback_win.cc
+++ b/ui/gfx/font_fallback_win.cc
@@ -359,7 +359,7 @@ bool GetFallbackFont(const Font& font,
base::win::ScopedComPtr<IDWriteFactory> factory;
gfx::win::CreateDWriteFactory(factory.Receive());
base::win::ScopedComPtr<IDWriteFactory2> factory2;
- factory.QueryInterface(factory2.Receive());
+ factory.CopyTo(factory2.Receive());
if (!factory2) {
// IDWriteFactory2 is not available before Win8.1
return GetUniscribeFallbackFont(font, text, text_length, result);
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win.cc ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698