Chromium Code Reviews
Descriptionmash: Use null AcceleratedWidget for widgets in tests
When running in tests, the ui::ContextFactory creates test
contexts that do not support real GL operations. Some of the
code (e.g. InProcessContextProvider) expects a null widget
for ui::Compositor::widget() in this situation. So update
WindowTreeHostMus to follow this.
Also, re-enable the tests, and make sure the test context
factory are destroyed correctly during test tear-down.
BUG=652871
Committed: https://crrev.com/c2df26e737f98f72f03dfe4ac1fe1ea91545bab2
Cr-Commit-Position: refs/heads/master@{#424515}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #
Messages
Total messages: 24 (19 generated)
|
|||||||||||||||||||||||||||||||||||||