Renamed the Driver API waitUntilFrameSync to waitUntilNoPendingFrame. (#36512)
This commit is contained in:
@@ -120,16 +120,16 @@ class WaitUntilNoTransientCallbacks extends Command {
|
||||
}
|
||||
|
||||
/// A Flutter Driver command that waits until the frame is synced.
|
||||
class WaitUntilFrameSync extends Command {
|
||||
class WaitUntilNoPendingFrame extends Command {
|
||||
/// Creates a command that waits until there's no pending frame scheduled.
|
||||
const WaitUntilFrameSync({ Duration timeout }) : super(timeout: timeout);
|
||||
const WaitUntilNoPendingFrame({ Duration timeout }) : super(timeout: timeout);
|
||||
|
||||
/// Deserializes this command from the value generated by [serialize].
|
||||
WaitUntilFrameSync.deserialize(Map<String, String> json)
|
||||
WaitUntilNoPendingFrame.deserialize(Map<String, String> json)
|
||||
: super.deserialize(json);
|
||||
|
||||
@override
|
||||
String get kind => 'waitUntilFrameSync';
|
||||
String get kind => 'waitUntilNoPendingFrame';
|
||||
}
|
||||
|
||||
/// Base class for Flutter Driver finders, objects that describe how the driver
|
||||
|
||||
Reference in New Issue
Block a user