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

Unified Diff: cc/layers/layer_impl.h

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/layer.cc ('k') | cc/layers/picture_image_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 12f1dcaeeff39c10176523f6d21bbe3bc5d6b2de..4fae1662b4b8bcbce0c2d2c2ea5dede4bf182f38 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -567,6 +567,14 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void Set3dSortingContextId(int id);
int sorting_context_id() { return sorting_context_id_; }
+ // TODO(vollick): These is temporary and will be removed as soon as render
+ // surface determinations are moved out of CDP. They only exist because
+ // certain logic depends on whether or not a layer would render to a separate
+ // surface, but CDP destroys surfaces and targets it doesn't need, so without
+ // this boolean, this is impossible to determine after the fact without
+ // wastefully recomputing it.
+ void SetHasRenderSurface(bool value) {}
+
protected:
LayerImpl(LayerTreeImpl* layer_impl, int id);
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/picture_image_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698