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

Unified Diff: cc/trees/layer_tree_impl.h

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: 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_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index e21b1c87435452ca3bf8bfc05cb60854613e0314..67b7839b39eb10ff276f4deadcc4856328a7cbd7 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -73,7 +73,7 @@ class CC_EXPORT LayerTreeImpl {
// ---------------------------------------------------------------------------
const LayerTreeSettings& settings() const;
const RendererCapabilitiesImpl& GetRendererCapabilities() const;
- ContextProvider* context_provider() const;
+ scoped_refptr<ContextProvider> context_provider() const;
danakj 2014/08/25 20:25:01 I don't think we want to add references to this th
dcheng 2014/08/25 20:56:58 This is the logic to try to catch temporary scoped
OutputSurface* output_surface() const;
ResourceProvider* resource_provider() const;
TileManager* tile_manager() const;

Powered by Google App Engine
This is Rietveld 408576698