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

Issue 464173002: Linux: Relanding a patch from an external contributor. (Closed)

Created:
6 years, 4 months ago by Elliot Glaysher
Modified:
6 years, 4 months ago
Reviewers:
dushistov, sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Project:
chromium
Visibility:
Public.

Description

Linux: Relanding a patch from an external contributor. This patch was reverted because it leaked memory on every window title set. This changes the patch around to use UTF-8 XTextProperties and to free allocated memory afterwards. """ After chromium stop using gtk+ for Linux/X11 all not ASCII character in window title start looks like garbage. This patch fixes this issue, by using algorithm similar to gtk+/Qt's way of setting window titles. """ BUG=378096 First Review URL: https://codereview.chromium.org/414413002 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289529

Patch Set 1 #

Patch Set 2 : Fixes the memory leak. #

Total comments: 2

Patch Set 3 : Just use UTF8 XTPs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Elliot Glaysher
sadrul: review
6 years, 4 months ago (2014-08-13 00:34:11 UTC) #1
Elliot Glaysher
sadrul: review
6 years, 4 months ago (2014-08-13 00:34:12 UTC) #2
Elliot Glaysher
sadrul: review dushistov: fyi (And sorry for the above incomplete mails; the "Reviewers" box does ...
6 years, 4 months ago (2014-08-13 00:35:48 UTC) #3
sadrul
https://codereview.chromium.org/464173002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/464173002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode639 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:639: XCompoundTextStyle, &xtp); Looks like XICCEncodingStyle can be = XUTF8StringStyle. ...
6 years, 4 months ago (2014-08-13 02:28:19 UTC) #4
Elliot Glaysher
ptal.
6 years, 4 months ago (2014-08-13 17:54:54 UTC) #5
sadrul
Cool. LGTM
6 years, 4 months ago (2014-08-13 20:14:55 UTC) #6
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-08-13 20:19:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/464173002/40001
6 years, 4 months ago (2014-08-13 20:21:29 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-13 21:56:45 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 22:26:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/5384)
6 years, 4 months ago (2014-08-13 22:26:18 UTC) #11
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-08-13 22:37:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/464173002/40001
6 years, 4 months ago (2014-08-13 22:41:08 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 12:09:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289529

Powered by Google App Engine
This is Rietveld 408576698