Chromium Code Reviews

Unified Diff: app/win_util.cc

Issue 6040002: Remove more 'using' declarations of Scoped* from scoped_handle_win.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_view and linux_chromeos Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | base/scoped_handle_win.h » ('j') | chrome/browser/ui/views/dropdown_bar_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/win_util.cc
diff --git a/app/win_util.cc b/app/win_util.cc
index b3a057169aa611827b2c0825760e948cd354648d..0bbe391b660ae39af043fa1ebcecf50dc2d2013a 100644
--- a/app/win_util.cc
+++ b/app/win_util.cc
@@ -24,6 +24,7 @@
#include "base/scoped_handle_win.h"
#include "base/string_util.h"
#include "base/win_util.h"
+#include "base/win/scoped_gdi_object.h"
#include "base/win/windows_version.h"
#include "gfx/codec/png_codec.h"
#include "gfx/gdi_util.h"
@@ -548,7 +549,7 @@ gfx::Font GetWindowTitleFont() {
NONCLIENTMETRICS ncm;
win_util::GetNonClientMetrics(&ncm);
l10n_util::AdjustUIFont(&(ncm.lfCaptionFont));
- ScopedHFONT caption_font(CreateFontIndirect(&(ncm.lfCaptionFont)));
+ base::win::ScopedHFONT caption_font(CreateFontIndirect(&(ncm.lfCaptionFont)));
return gfx::Font(caption_font);
}
« no previous file with comments | « no previous file | base/scoped_handle_win.h » ('j') | chrome/browser/ui/views/dropdown_bar_host.cc » ('J')

Powered by Google App Engine