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

Unified Diff: ui/compositor/layer.h

Issue 2654413002: Stretching NativeViewHost, and misc tab capture fixes.
Patch Set: Gettin' it all working on ui/cocoa and MacViews too. Created 3 years, 10 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 | « ui/aura/window.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index e1525b572869886b14383621bd6a97b99c4c2434..59a77174b56cd4755cd73d1a1fddb8657bee3e52 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -148,7 +148,7 @@ class COMPOSITOR_EXPORT Layer
// The transform, relative to the parent.
void SetTransform(const gfx::Transform& transform);
- gfx::Transform transform() const;
+ const gfx::Transform& transform() const { return cc_layer_->transform(); }
gfx::PointF position() const { return cc_layer_->position(); }
« no previous file with comments | « ui/aura/window.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698