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

Unified Diff: cc/test/fake_content_layer_impl.cc

Issue 609663003: cc: Remove use of PassAs() and constructor-casting with scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc-passas: PassAs-presubmit-warning Created 6 years, 3 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/test/fake_content_layer.cc ('k') | cc/test/fake_delegated_renderer_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer_impl.cc
diff --git a/cc/test/fake_content_layer_impl.cc b/cc/test/fake_content_layer_impl.cc
index 7e5a8533a7bfff2d8a302b347039d0b27233616a..eb35bb6aacbaf0040b019199fa87cb4cd604a295 100644
--- a/cc/test/fake_content_layer_impl.cc
+++ b/cc/test/fake_content_layer_impl.cc
@@ -14,7 +14,7 @@ FakeContentLayerImpl::~FakeContentLayerImpl() {}
scoped_ptr<LayerImpl> FakeContentLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return FakeContentLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
+ return FakeContentLayerImpl::Create(tree_impl, id());
}
bool FakeContentLayerImpl::HaveResourceForTileAt(int i, int j) {
« no previous file with comments | « cc/test/fake_content_layer.cc ('k') | cc/test/fake_delegated_renderer_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698