Extend the suppression for issue 379943
[chromium-blink-merge.git] / ui / views / test / views_test_helper_mac.mm
bloba50f4aa9727178184bddcc70413c4a813ec0a19a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/views/test/views_test_helper_mac.h"
7 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
8 #include "ui/views/test/event_generator_delegate_mac.h"
10 namespace views {
12 // static
13 ViewsTestHelper* ViewsTestHelper::Create(base::MessageLoopForUI* message_loop,
14                                          ui::ContextFactory* context_factory) {
15   return new ViewsTestHelperMac;
18 ViewsTestHelperMac::ViewsTestHelperMac()
19     : zero_duration_mode_(new ui::ScopedAnimationDurationScaleMode(
20           ui::ScopedAnimationDurationScaleMode::ZERO_DURATION)) {
21   test::InitializeMacEventGeneratorDelegate();
24 ViewsTestHelperMac::~ViewsTestHelperMac() {
27 }  // namespace views