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

Unified Diff: cc/layers/layer_impl.h

Issue 1565783002: Revert of Determine a layer's IsAffectedByPageScale property without using Layer Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.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 baccc5d54db3c9c596307ee326ab54a3e786a55a..42362c8618fb5c00467aaf1224e1bff1d65e83f1 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -357,7 +357,10 @@
return is_container_for_fixed_position_layers_;
}
- bool IsAffectedByPageScale() const;
+ bool IsAffectedByPageScale() const { return is_affected_by_page_scale_; }
+ void SetIsAffectedByPageScale(bool is_affected) {
+ is_affected_by_page_scale_ = is_affected;
+ }
gfx::Vector2dF FixedContainerSizeDelta() const;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698