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

Unified Diff: ash/system/tray/tray_item_view.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
Index: ash/system/tray/tray_item_view.cc
diff --git a/ash/system/tray/tray_item_view.cc b/ash/system/tray/tray_item_view.cc
index 6bfc0736a5f568115813c25a10e59646bd5d79c0..23f0d53d62b00f22bbdf4a0dd311b726107e7cac 100644
--- a/ash/system/tray/tray_item_view.cc
+++ b/ash/system/tray/tray_item_view.cc
@@ -94,7 +94,7 @@ void TrayItemView::ChildPreferredSizeChanged(views::View* child) {
}
void TrayItemView::AnimationProgressed(const ui::Animation* animation) {
- ui::Transform transform;
+ gfx::Transform transform;
transform.SetScale(animation->GetCurrentValue(),
animation->GetCurrentValue());
transform.ConcatTranslate(0, animation->CurrentValueBetween(

Powered by Google App Engine
This is Rietveld 408576698