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

Unified Diff: chrome/browser/views/constrained_window_impl.cc

Issue 113441: ChromeFont->gfx::Font... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 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 | « chrome/browser/views/bookmark_table_view.cc ('k') | chrome/browser/views/download_item_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/constrained_window_impl.cc
===================================================================
--- chrome/browser/views/constrained_window_impl.cc (revision 16106)
+++ chrome/browser/views/constrained_window_impl.cc (working copy)
@@ -237,12 +237,12 @@
static void InitClass();
// The font to be used to render the titlebar text.
- static ChromeFont* title_font_;
+ static gfx::Font* title_font_;
DISALLOW_EVIL_CONSTRUCTORS(ConstrainedWindowFrameView);
};
-ChromeFont* ConstrainedWindowFrameView::title_font_ = NULL;
+gfx::Font* ConstrainedWindowFrameView::title_font_ = NULL;
namespace {
// The frame border is only visible in restored mode and is hardcoded to 4 px on
@@ -568,7 +568,7 @@
void ConstrainedWindowFrameView::InitClass() {
static bool initialized = false;
if (!initialized) {
- title_font_ = new ChromeFont(win_util::GetWindowTitleFont());
+ title_font_ = new gfx::Font(win_util::GetWindowTitleFont());
initialized = true;
}
« no previous file with comments | « chrome/browser/views/bookmark_table_view.cc ('k') | chrome/browser/views/download_item_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698