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

Unified Diff: cc/layers/layer_impl.h

Issue 687873004: Introduce Property Trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wip-awoloszyn2
Patch Set: ComputeTransform now inits result to identity. 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
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 12f1dcaeeff39c10176523f6d21bbe3bc5d6b2de..9317d08615104a1624b8cecea2a25f5699f3fe39 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 set_should_render_to_separate_surface(bool value) {}
+
protected:
LayerImpl(LayerTreeImpl* layer_impl, int id);

Powered by Google App Engine
This is Rietveld 408576698