Chromium Code Reviews
DescriptionInstall FakeContextFactory for AuraMusWmTestBase
Override AuraMusWmTestBase::SetUp() and TearDown() to use a FakeContextFactory
for its tests and restore the original ContextFactory to avoid affecting the
other tests.
Doing this allows WindowTreeHostMus to set accelerate_widget to a non-zero value
like it normally would. WindowTreeHostMus doesn't have to have a special case
for tests anymore.
BUG=717760
Review-Url: https://codereview.chromium.org/2865443002
Cr-Commit-Position: refs/heads/master@{#469741}
Committed: https://chromium.googlesource.com/chromium/src/+/89b9688d75599341703719d88b5f09841ac4d5de
Patch Set 1 #
Total comments: 6
Patch Set 2 : AuraMusClientTestBase uses FakeContextFactory #Patch Set 3 : Add comments #
Messages
Total messages: 22 (15 generated)
|
|||||||||||||||||||||||||||||||||||||