| Index: chrome/browser/ui/views/toolbar/reload_button_unittest.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/reload_button_unittest.cc b/chrome/browser/ui/views/toolbar/reload_button_unittest.cc
|
| index 87579af18f913baae1ea9849a8f6a0b8910f9a94..246d49ac52faf7c4eba308351ec3d947b51c80a3 100644
|
| --- a/chrome/browser/ui/views/toolbar/reload_button_unittest.cc
|
| +++ b/chrome/browser/ui/views/toolbar/reload_button_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "base/message_loop/message_loop.h"
|
| #include "chrome/browser/ui/views/toolbar/reload_button.h"
|
| +#include "chrome/test/base/testing_profile.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/events/event_utils.h"
|
|
|
| @@ -27,10 +28,12 @@ class ReloadButtonTest : public testing::Test {
|
| // We need a message loop for the timers to post events.
|
| base::MessageLoop loop_;
|
|
|
| + TestingProfile profile_;
|
| +
|
| ReloadButton reload_;
|
| };
|
|
|
| -ReloadButtonTest::ReloadButtonTest() : reload_(NULL) {
|
| +ReloadButtonTest::ReloadButtonTest() : reload_(&profile_, nullptr) {
|
| // Set the timer delays to 0 so that timers will fire as soon as we tell the
|
| // message loop to run pending tasks.
|
| reload_.double_click_timer_delay_ = base::TimeDelta();
|
|
|