Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4567)

Unified Diff: chrome/browser/device_orientation/device_orientation_browsertest.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « chrome/browser/debugger/devtools_remote_listen_socket.cc ('k') | chrome/browser/dom_ui/chrome_url_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698