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

Unified Diff: ui/gfx/compositor/layer.h

Issue 8510076: Fix stale compositor references from ui::Layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: ui/gfx/compositor/layer.h
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
index a3dcc3429ecc7d0bf5ad3099a929f2ee2c65bc70..e549bd500cd735f44d0cbe438bc5e366dde4ae8d 100644
--- a/ui/gfx/compositor/layer.h
+++ b/ui/gfx/compositor/layer.h
@@ -48,10 +48,8 @@ class COMPOSITOR_EXPORT Layer :
LAYER_HAS_TEXTURE = 1
};
- // |compositor| can be NULL, and will be set later when the Layer is added to
- // a Compositor.
- explicit Layer(Compositor* compositor);
- Layer(Compositor* compositor, LayerType type);
+ Layer();
+ explicit Layer(LayerType type);
virtual ~Layer();
// Retrieves the Layer's compositor. The Layer will walk up its parent chain

Powered by Google App Engine
This is Rietveld 408576698