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

Issue 516173002: ui: Replace MessageLoopProxy usage with ThreadTaskRunnerHandle. (Closed)

Created:
6 years, 3 months ago by tfarina
Modified:
6 years, 3 months ago
Reviewers:
sky, Ryan Sleevi
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, ozone-reviews_chromium.org, ben+aura_chromium.org, tdresser+watch_chromium.org, Ian Vollick, tfarina, piman+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, kalyank, rjkroege, sadrul, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ui: Replace MessageLoopProxy usage with ThreadTaskRunnerHandle. MessageLoopProxy is deprecated. This basically does a search and replace: MessageLoopProxy::current() -> ThreadTaskRunnerHandle::Get(). BUG=391045 TEST=unittests R=sky@chromium.org Committed: https://crrev.com/57d2a7e1ea1130c451626f66e8cc545aef41be92 Cr-Commit-Position: refs/heads/master@{#293157}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -23 lines) Patch
M ui/app_list/views/top_icon_animation_view.cc View 2 chunks +2 lines, -2 lines 1 comment Download
M ui/aura/window_tree_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/test_compositor_host_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/test_compositor_host_ozone.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/test_compositor_host_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/test_compositor_host_x11.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/events/test/event_generator.cc View 3 chunks +4 lines, -3 lines 2 comments Download
M ui/gl/android/surface_texture_listener.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/android/surface_texture_listener.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 4 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
tfarina
6 years, 3 months ago (2014-08-29 04:22:00 UTC) #1
sky
https://codereview.chromium.org/516173002/diff/1/ui/app_list/views/top_icon_animation_view.cc File ui/app_list/views/top_icon_animation_view.cc (right): https://codereview.chromium.org/516173002/diff/1/ui/app_list/views/top_icon_animation_view.cc#newcode87 ui/app_list/views/top_icon_animation_view.cc:87: base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); This can be MessageLoop::current(). https://codereview.chromium.org/516173002/diff/1/ui/events/test/event_generator.cc File ui/events/test/event_generator.cc ...
6 years, 3 months ago (2014-09-02 15:34:14 UTC) #2
Ryan Sleevi
On 2014/09/02 15:34:14, sky wrote: > https://codereview.chromium.org/516173002/diff/1/ui/app_list/views/top_icon_animation_view.cc > File ui/app_list/views/top_icon_animation_view.cc (right): > > https://codereview.chromium.org/516173002/diff/1/ui/app_list/views/top_icon_animation_view.cc#newcode87 > ...
6 years, 3 months ago (2014-09-02 15:37:21 UTC) #3
sky
Why is that? From looking ML::current() isn't deprecated. IMO ::current() is a clearer name then ...
6 years, 3 months ago (2014-09-02 18:03:12 UTC) #4
Ryan Sleevi
On 2014/09/02 18:03:12, sky wrote: > Why is that? From looking ML::current() isn't deprecated. IMO ...
6 years, 3 months ago (2014-09-02 23:58:00 UTC) #5
Ryan Sleevi
not an owner, but this all LG to me
6 years, 3 months ago (2014-09-02 23:58:56 UTC) #7
sky
Ok, LGTM
6 years, 3 months ago (2014-09-03 14:46:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/516173002/1
6 years, 3 months ago (2014-09-03 16:31:12 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as 2b4cb020caf4ac6e2f5fbf4896916f1a18bde0c0
6 years, 3 months ago (2014-09-03 17:04:59 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:26:25 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/57d2a7e1ea1130c451626f66e8cc545aef41be92
Cr-Commit-Position: refs/heads/master@{#293157}

Powered by Google App Engine
This is Rietveld 408576698