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

Unified Diff: cc/trees/layer_tree_host_unittest_delegated.cc

Issue 500123003: Remove implicit conversions from scoped_refptr to T* in cc/trees/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 4 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: cc/trees/layer_tree_host_unittest_delegated.cc
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc
index 848d9d156821955778e2cf50fa76c50f7b65c98c..2022d11aad2cd344b4ac6b024f40bca349a7615a 100644
--- a/cc/trees/layer_tree_host_unittest_delegated.cc
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc
@@ -563,7 +563,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage
case 17:
// Make another layer that uses the same frame provider. The new layer
// should be damaged.
- delegated_copy_ = CreateDelegatedLayer(frame_provider_);
+ delegated_copy_ = CreateDelegatedLayer(frame_provider_.get());
delegated_copy_->SetPosition(gfx::Point(5, 0));
// Also set a new frame.
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_host_unittest_no_message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698