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