Chromium Code Reviews
DescriptionFix crash on spell check "Ask Google for suggestions"
POST COMMIT EDIT:
In order to determine if widgets should be created in an Ash/metro context vs. a normal desktop context, erg@ recently introduced Widget::InitParams::context. There used to be a fallback handler for context being null, but this was removed intentionally in https://codereview.chromium.org/11829040. After the fallback was removed, Widgets that did not have a context or parent would cause a crash. That's why I added the DCHECK.
* Set a parent window for the confirmation bubble's widget so Aura knows
on which desktop to place it.
* Add DCHECK to ensure Aura widgets have either a parent or a context to make
this failure more obvious in the future.
* Added unit test for ConfirmBubbleViews.
* Removed duplicate anchor_point data in the bubble.
BUG=171856
TEST=Added unit_tests ConfirmBubbleViewsTest.CreateAndClose
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178757
Patch Set 1 #
Total comments: 3
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||