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

Unified Diff: ui/gfx/font_fallback_win.cc

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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/base/win/shell.cc ('k') | ui/gfx/platform_font_win.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 8af5604a3f0c713d3dee27b03401373d9d18b17d..6352cfe48569d7c0f7b7c1676d4fb744f9f909af 100644
--- a/ui/gfx/font_fallback_win.cc
+++ b/ui/gfx/font_fallback_win.cc
@@ -387,7 +387,7 @@ bool GetFallbackFont(const Font& font,
: DWRITE_READING_DIRECTION_LEFT_TO_RIGHT;
if (FAILED(Microsoft::WRL::MakeAndInitialize<gfx::win::TextAnalysisSource>(
text_analysis.Receive(), text, locale.c_str(),
- number_substitution.get(), reading_direction))) {
+ number_substitution.Get(), reading_direction))) {
return false;
}
base::string16 original_name = base::UTF8ToUTF16(font.GetFontName());
@@ -395,7 +395,7 @@ bool GetFallbackFont(const Font& font,
if (font.GetStyle() & Font::ITALIC)
font_style = DWRITE_FONT_STYLE_ITALIC;
if (FAILED(fallback->MapCharacters(
- text_analysis.get(), 0, text_length, nullptr, original_name.c_str(),
+ text_analysis.Get(), 0, text_length, nullptr, original_name.c_str(),
static_cast<DWRITE_FONT_WEIGHT>(font.GetWeight()), font_style,
DWRITE_FONT_STRETCH_NORMAL, &mapped_length, mapped_font.Receive(),
&scale))) {
@@ -404,7 +404,7 @@ bool GetFallbackFont(const Font& font,
if (mapped_font) {
base::string16 name;
- if (FAILED(GetFamilyNameFromDirectWriteFont(mapped_font.get(), &name)))
+ if (FAILED(GetFamilyNameFromDirectWriteFont(mapped_font.Get(), &name)))
return false;
*result = Font(base::UTF16ToUTF8(name), font.GetFontSize() * scale);
return true;
« no previous file with comments | « ui/base/win/shell.cc ('k') | ui/gfx/platform_font_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698