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

Unified Diff: views/window/custom_frame_view.cc

Issue 6121004: Remove wstring from gfx. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « views/view_text_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/custom_frame_view.cc
===================================================================
--- views/window/custom_frame_view.cc (revision 71043)
+++ views/window/custom_frame_view.cc (working copy)
@@ -413,9 +413,10 @@
if (!d)
return;
- canvas->DrawStringInt(d->GetWindowTitle(), *title_font_, SK_ColorWHITE,
- MirroredLeftPointForRect(title_bounds_), title_bounds_.y(),
- title_bounds_.width(), title_bounds_.height());
+ canvas->DrawStringInt(WideToUTF16Hack(d->GetWindowTitle()), *title_font_,
+ SK_ColorWHITE, MirroredLeftPointForRect(title_bounds_),
+ title_bounds_.y(), title_bounds_.width(),
+ title_bounds_.height());
}
void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) {
« no previous file with comments | « views/view_text_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698