-
Notifications
You must be signed in to change notification settings - Fork 6k
Add RAII wrapper for Win32 IMM context #24699
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Passing re-run of Mac Host Engine: https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20Host%20Engine/21155/overview (Flake filed) |
|
Re: tests. This simply refactors the existing IMM context creation/cleanup. |
clarkezone
left a comment
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
stuartmorgan-g
left a comment
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 with nit.
Wraps Win32 IME context management in an RAII container that automates management via ImmGetContext() and ImmReleaseContext().
|
Once we extract the |
flutter/engine@cd0e543...735876e 2021-03-02 [email protected] Win32: Support Korean input (flutter/engine#24713) 2021-03-02 [email protected] Add RAII wrapper for Win32 IMM context (flutter/engine#24699) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
flutter/engine@cd0e543...aa3bb5e 2021-03-02 [email protected] [web] Fix painting of last placeholder in paragraph (flutter/engine#24716) 2021-03-02 [email protected] Win32: Support Korean input (flutter/engine#24713) 2021-03-02 [email protected] Add RAII wrapper for Win32 IMM context (flutter/engine#24699) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
flutter/engine@cd0e543...a5ae18b 2021-03-02 [email protected] [web] Fix pointer events for Wacom pen (flutter/engine#24719) 2021-03-02 [email protected] [web] Fix painting of last placeholder in paragraph (flutter/engine#24716) 2021-03-02 [email protected] Win32: Support Korean input (flutter/engine#24713) 2021-03-02 [email protected] Add RAII wrapper for Win32 IMM context (flutter/engine#24699) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
flutter/engine@cd0e543...735876e 2021-03-02 [email protected] Win32: Support Korean input (flutter/engine#24713) 2021-03-02 [email protected] Add RAII wrapper for Win32 IMM context (flutter/engine#24699) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
Wraps Win32 IME context management in an RAII container that automates management via ImmGetContext() and ImmReleaseContext().
Wraps Win32 IME context management in an RAII container that automates management via ImmGetContext() and ImmReleaseContext().
Wraps Win32 IME context management in an RAII container that automates
management via ImmGetContext() and ImmReleaseContext().
Fixup for TODO left behind in #23853.
Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.