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

Unified Diff: cc/layers/layer_impl.h

Issue 1479883002: cc: Fix draw transform computation for non-drawn layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove LayerImpl::draw_transform() Created 5 years, 1 month 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 bae7421deb5aad37de251ddbd569d82c7ef81bea..d2ad8b012dfab893206746893ecf07205e5e77e5 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -385,11 +385,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
DrawProperties& draw_properties() { return draw_properties_; }
const DrawProperties& draw_properties() const { return draw_properties_; }
+ gfx::Transform DrawTransform() const;
+
// The following are shortcut accessors to get various information from
// draw_properties_
- const gfx::Transform& draw_transform() const {
- return draw_properties_.target_space_transform;
- }
const gfx::Transform& screen_space_transform() const {
return draw_properties_.screen_space_transform;
}

Powered by Google App Engine
This is Rietveld 408576698