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

Unified Diff: cc/trees/layer_tree_host_unittest_context.cc

Issue 16355009: Rewrite scoped_ptr<T>(NULL) to use the default ctor in cc/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix most vexing parse Created 7 years, 6 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 | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index 3b489eb48d4de695365524792a686fccfa5f1918..4dbd76538dd21cfc53e29916576c117e2c3b775d 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -1576,7 +1576,7 @@ class LayerTreeHostTestCannotCreateIfCannotCreateOutputSurface
bool delegating_renderer,
bool impl_side_painting) {
scoped_ptr<base::Thread> impl_thread;
- scoped_ptr<cc::Thread> impl_ccthread(NULL);
+ scoped_ptr<cc::Thread> impl_ccthread;
if (threaded) {
impl_thread.reset(new base::Thread("LayerTreeTest"));
impl_ccthread = cc::ThreadImpl::CreateForDifferentThread(
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698