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

Unified Diff: cc/layers/layer_impl.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Improve with comment in patch 18. Created 3 years, 5 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/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 0c0ef8720eac95451d6a6634ad0935a31f353ed5..23c1b6684ad2211ad5c75f7808dc6bd3b471abfa 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -425,6 +425,10 @@ bool LayerImpl::LayerPropertyChanged() const {
return false;
}
+bool LayerImpl::LayerPropertyChangedNotFromPropertyTrees() const {
+ return layer_property_changed_;
+}
+
void LayerImpl::NoteLayerPropertyChanged() {
layer_property_changed_ = true;
layer_tree_impl()->set_needs_update_draw_properties();

Powered by Google App Engine
This is Rietveld 408576698