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

Unified Diff: cc/layers/layer_impl.h

Issue 1544103002: Determine a layer's IsAffectedByPageScale property without using Layer Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 42362c8618fb5c00467aaf1224e1bff1d65e83f1..baccc5d54db3c9c596307ee326ab54a3e786a55a 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -357,10 +357,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
return is_container_for_fixed_position_layers_;
}
- bool IsAffectedByPageScale() const { return is_affected_by_page_scale_; }
- void SetIsAffectedByPageScale(bool is_affected) {
- is_affected_by_page_scale_ = is_affected;
- }
+ bool IsAffectedByPageScale() const;
gfx::Vector2dF FixedContainerSizeDelta() const;

Powered by Google App Engine
This is Rietveld 408576698