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

Unified Diff: ui/app_list/views/top_icon_animation_view.cc

Issue 516173002: ui: Replace MessageLoopProxy usage with ThreadTaskRunnerHandle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | ui/aura/window_tree_host.cc » ('j') | ui/events/test/event_generator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/top_icon_animation_view.cc
diff --git a/ui/app_list/views/top_icon_animation_view.cc b/ui/app_list/views/top_icon_animation_view.cc
index a0a91ff06c0b2db085ef92039a0b37ff0c9f65ce..1d6e2c50253ed6e8eba17695e1183b24cc1730bb 100644
--- a/ui/app_list/views/top_icon_animation_view.cc
+++ b/ui/app_list/views/top_icon_animation_view.cc
@@ -4,7 +4,7 @@
#include "ui/app_list/views/top_icon_animation_view.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
#include "ui/app_list/app_list_constants.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
#include "ui/gfx/image/image_skia_operations.h"
@@ -84,7 +84,7 @@ void TopIconAnimationView::OnImplicitAnimationsCompleted() {
FOR_EACH_OBSERVER(TopIconAnimationObserver,
observers_,
OnTopIconAnimationsComplete());
- base::MessageLoopProxy::current()->DeleteSoon(FROM_HERE, this);
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this);
sky 2014/09/02 15:34:14 This can be MessageLoop::current().
}
bool TopIconAnimationView::RequiresNotificationWhenAnimatorDestroyed() const {
« no previous file with comments | « no previous file | ui/aura/window_tree_host.cc » ('j') | ui/events/test/event_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698