Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ff2c8b48
Commit
ff2c8b48
authored
Dec 15, 2015
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #942 from Hixie/wacky
Workaround to re-enable test
parents
7dd28659
768268ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
scheduler.dart
packages/flutter/lib/src/scheduler/scheduler.dart
+5
-6
scheduler_test.dart
packages/unit/test/scheduler/scheduler_test.dart
+0
-0
No files found.
packages/flutter/lib/src/scheduler/scheduler.dart
View file @
ff2c8b48
...
...
@@ -95,12 +95,11 @@ abstract class Scheduler extends BindingBase {
SchedulingStrategy
schedulingStrategy
=
new
DefaultSchedulingStrategy
();
final
PriorityQueue
_taskQueue
=
new
HeapPriorityQueue
<
_TaskEntry
>(
(
_TaskEntry
e1
,
_TaskEntry
e2
)
{
// Note that we inverse the priority.
return
-
e1
.
priority
.
compareTo
(
e2
.
priority
);
}
);
static
int
_taskSorter
(
_TaskEntry
e1
,
_TaskEntry
e2
)
{
// Note that we inverse the priority.
return
-
e1
.
priority
.
compareTo
(
e2
.
priority
);
}
final
PriorityQueue
_taskQueue
=
new
HeapPriorityQueue
<
_TaskEntry
>(
_taskSorter
);
/// Whether this scheduler already requested to be called from the event loop.
bool
_hasRequestedAnEventLoopCallback
=
false
;
...
...
packages/unit/test/scheduler/scheduler_test.dart
.disabled
→
packages/unit/test/scheduler/scheduler_test.dart
View file @
ff2c8b48
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment