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

Unified Diff: cc/surfaces/surface.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/layers/ui_resource_layer_unittest.cc ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index 8ced3982e0dd17d2c5d0c12648fd6fb179cf099d..9fe86a2761bfb0cc6e65ec80d0179c62572bfec7 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -42,7 +42,7 @@ class CC_SURFACES_EXPORT Surface {
public:
using DrawCallback = SurfaceFactory::DrawCallback;
- Surface(const SurfaceId& id, SurfaceFactory* factory);
+ Surface(const SurfaceId& id, base::WeakPtr<SurfaceFactory> factory);
~Surface();
const SurfaceId& surface_id() const { return surface_id_; }
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698