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

Issue 1205483004: cc: Remove unnecessary task runner refptrs from schedulers. (Closed)

Created:
5 years, 6 months ago by sunnyps
Modified:
5 years, 6 months ago
Reviewers:
mithro-old, sky, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove_begin_frame_source_constructor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove unnecessary task runner refptrs from schedulers. Task runners are ref counted so that they can be used safely from multiple threads. This is not required for (Display)Scheduler in which case the owner of the scheduler (Proxy or OnScreenDisplayClient) holds a reference to the task runner for as long as the scheduler lives. R=brianderson,mithro CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/86c1dbcdd76224d456d1a67302c31f89b082c464 Cr-Commit-Position: refs/heads/master@{#335817}

Patch Set 1 #

Patch Set 2 : fix surfaces_scheduler compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -45 lines) Patch
M cc/scheduler/scheduler.h View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/scheduler/scheduler.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/display_scheduler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/display_scheduler.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M cc/surfaces/display_scheduler_unittest.cc View 4 chunks +14 lines, -11 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 5 chunks +11 lines, -8 lines 0 comments Download
M cc/surfaces/onscreen_display_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/scheduler_test_common.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/scheduler_test_common.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/view_manager/surfaces/surfaces_scheduler.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (9 generated)
sunnyps
PTAL
5 years, 6 months ago (2015-06-22 23:43:22 UTC) #1
mithro-old
lgtm
5 years, 6 months ago (2015-06-22 23:50:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205483004/1
5 years, 6 months ago (2015-06-22 23:51:41 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/37798) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 6 months ago (2015-06-22 23:55:48 UTC) #6
sunnyps
This requires https://codereview.chromium.org/1201573002/ to go in first.
5 years, 6 months ago (2015-06-23 00:02:37 UTC) #7
mithro-old
On 2015/06/23 00:02:37, sunnyps wrote: > This requires https://codereview.chromium.org/1201573002/ to go in first. With the ...
5 years, 6 months ago (2015-06-23 00:03:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205483004/1
5 years, 6 months ago (2015-06-23 01:58:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/100966)
5 years, 6 months ago (2015-06-23 02:27:28 UTC) #12
mithro-old
On 2015/06/23 02:27:28, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 6 months ago (2015-06-23 02:35:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205483004/1
5 years, 6 months ago (2015-06-23 02:58:50 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/100987)
5 years, 6 months ago (2015-06-23 03:13:17 UTC) #17
mithro-old
On 2015/06/23 02:57:55, mithro wrote: > The CQ bit was checked by mailto:mithro@mithis.com [1058/2407] CXX ...
5 years, 6 months ago (2015-06-23 03:14:25 UTC) #18
mithro-old
On 2015/06/23 03:14:25, mithro wrote: > On 2015/06/23 02:57:55, mithro wrote: > > The CQ ...
5 years, 6 months ago (2015-06-23 03:14:48 UTC) #19
sunnyps
+sky for surfaces_scheduler review
5 years, 6 months ago (2015-06-23 20:39:35 UTC) #21
sky
LGTM
5 years, 6 months ago (2015-06-23 21:48:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205483004/20001
5 years, 6 months ago (2015-06-23 22:42:20 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 6 months ago (2015-06-24 00:10:11 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 00:11:15 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/86c1dbcdd76224d456d1a67302c31f89b082c464
Cr-Commit-Position: refs/heads/master@{#335817}

Powered by Google App Engine
This is Rietveld 408576698