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

Unified Diff: ui/gfx/win/direct_write.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/gfx/font_fallback_win.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 8645ae85ed8b422090bbd8344e26e43e0f6e3395..341ffe9f013c379b17a3be57d5f9df7b10425a6b 100644
--- a/ui/gfx/win/direct_write.cc
+++ b/ui/gfx/win/direct_write.cc
@@ -29,7 +29,7 @@ void CreateDWriteFactory(IDWriteFactory** factory) {
CHECK(false);
return;
}
- factory_unknown.QueryInterface<IDWriteFactory>(factory);
+ factory_unknown.CopyTo(factory);
}
void MaybeInitializeDirectWrite() {
« no previous file with comments | « ui/gfx/font_fallback_win.cc ('k') | ui/gl/gl_angle_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698