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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.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
« no previous file with comments | « webkit/tools/test_shell/simple_resource_loader_bridge.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_webview_delegate.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index e6d43f1e2c61df04b0e88eba29d9e5f00a728eed..a5a76edbf804f3105376560ad190caf481be24cb 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -740,8 +740,8 @@ WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
appcache_host ? appcache_host->host_id() : appcache::kNoHostId,
0);
- scoped_refptr<webkit_glue::VideoRendererImpl> video_renderer =
- new webkit_glue::VideoRendererImpl(false);
+ scoped_refptr<webkit_glue::VideoRendererImpl> video_renderer(
+ new webkit_glue::VideoRendererImpl(false));
collection.push_back(video_renderer);
return new webkit_glue::WebMediaPlayerImpl(
« no previous file with comments | « webkit/tools/test_shell/simple_resource_loader_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698