| Index: ui/gfx/platform_font_win.cc
|
| diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
|
| index c84b884af8862ce3f94882e0c044178973d04d8f..a9a7a43faf5f6ec43d5f3ab7ff03029c19195773 100644
|
| --- a/ui/gfx/platform_font_win.cc
|
| +++ b/ui/gfx/platform_font_win.cc
|
| @@ -222,7 +222,7 @@ PlatformFontWin::HFontRef* PlatformFontWin::CreateHFontRef(HFONT font) {
|
|
|
| {
|
| base::win::ScopedGetDC screen_dc(NULL);
|
| - base::win::ScopedSelectObject font(screen_dc, font);
|
| + base::win::ScopedSelectObject scoped_font(screen_dc, font);
|
| ui::ScopedSetMapMode mode(screen_dc, MM_TEXT);
|
| GetTextMetrics(screen_dc, &font_metrics);
|
| }
|
|
|