-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICU-13827 Clean up ICU4C "wintz.cpp" time zone detection code. #129
Conversation
} | ||
|
||
ures_close(bundle); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to close the new bundle pointer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is the neat thing about LocalUResourceBundlePointer
, it will automatically call ures_close
when the object goes out of scope. So we don't have to worry about remembering to call close. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for cleaning up
This reverts commit ccad447 in M71 branch. There's an issue with DST detection so that we revert it in M71 branch. For M72 or later, we'll find a better fix. > Fix the timezone detection on Windows with RDP. > > This is to cherry-pick fixes from the upstream to fix > the timezone detection issue when a remote Windows > session is used. The detected timezone should be that of > a remote machine Chrome is running on, but without this > fix, it uses the timezone of machine where a RDP connection > originates. > > Bugs: > > https://unicode-org.atlassian.net/browse/ICU-13842 > https://unicode-org.atlassian.net/browse/ICU-13827 > > Fixes (included in the upstream ICU 63 release candidate) > unicode-org/icu#55 > unicode-org/icu#129 > > TBR=yangguo@chromium.org > Bug: 854387 > Test: Manual. See the bug > Change-Id: Ic21e82987c1569e107d9b5e17bdc0d21e65fda3c > Reviewed-on: https://chromium-review.googlesource.com/c/1270635 Bug: 854387, 913298
…h RDP."" This reverts commit 751b643, which reverted the following earlier commit (ccad447) to deal with a regression on Windows 7 timezone detection. (https://crbug.com/913298) This CL will reintroduce the change made in ccad447 for bug 854387 to M71 branch and be followed by the proper fix for bug 913298. > Fix the timezone detection on Windows with RDP. > > This is to cherry-pick fixes from the upstream to fix > the timezone detection issue when a remote Windows > session is used. The detected timezone should be that of > a remote machine Chrome is running on, but without this > fix, it uses the timezone of machine where a RDP connection > originates. > > Bugs: > > https://unicode-org.atlassian.net/browse/ICU-13842 > https://unicode-org.atlassian.net/browse/ICU-13827 > > Fixes (included in the upstream ICU 63 release candidate) > unicode-org/icu#55 > unicode-org/icu#129 > > TBR=yangguo@chromium.org > Bug: 854387 > Test: Manual. See the bug > Change-Id: Ic21e82987c1569e107d9b5e17bdc0d21e65fda3c > Reviewed-on: https://chromium-review.googlesource.com/c/1270635 Bug: 854387, 913298 Test: Manual. See the bug
Checklist