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

Unified Diff: ui/views/widget/widget.cc

Issue 11087093: Migrate ui::Transform to gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« ui/gfx/transform_util.h ('K') | « ui/views/view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 361a39904a2b58b9cc1862fe805fc7e5802ccd1c..d4dda66d728b1133d14e44b68c140c2b4ea96009 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1044,7 +1044,7 @@ bool Widget::OnNativeWidgetPaintAccelerated(const gfx::Rect& dirty_region) {
// to avoid leaving ghosts.
bool force_clear = false;
if (GetRootView()->layer()) {
- const ui::Transform& layer_transform = GetRootView()->layer()->transform();
+ const gfx::Transform& layer_transform = GetRootView()->layer()->transform();
if (layer_transform != GetRootView()->GetTransform()) {
// The layer has not caught up to the view (i.e., the layer is still
// animating), and so a clear is required.
« ui/gfx/transform_util.h ('K') | « ui/views/view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698