| Index: chrome/browser/device_orientation/device_orientation_browsertest.cc
|
| diff --git a/chrome/browser/device_orientation/device_orientation_browsertest.cc b/chrome/browser/device_orientation/device_orientation_browsertest.cc
|
| index d33f5d3faee79830322a4467af830c43c984a4a3..6fe92ea0f7d935ec42734198e5d756e822df39b5 100644
|
| --- a/chrome/browser/device_orientation/device_orientation_browsertest.cc
|
| +++ b/chrome/browser/device_orientation/device_orientation_browsertest.cc
|
| @@ -49,7 +49,7 @@ class DeviceOrientationBrowserTest : public InProcessBrowserTest {
|
|
|
| IN_PROC_BROWSER_TEST_F(DeviceOrientationBrowserTest, BasicTest) {
|
| const Orientation kTestOrientation(true, 1, true, 2, true, 3);
|
| - scoped_refptr<MockProvider> provider = new MockProvider(kTestOrientation);
|
| + scoped_refptr<MockProvider> provider(new MockProvider(kTestOrientation));
|
| Provider::SetInstanceForTests(provider.get());
|
|
|
| // The test page will register an event handler for orientation events,
|
|
|