Commit 6befb630 authored by Ali Ghassemi's avatar Ali Ghassemi Committed by GitHub

Updating Reference: FlutterBinding -> RendererBinding (#4602)

parent 6ba5674d
...@@ -808,7 +808,7 @@ class PipelineOwner { ...@@ -808,7 +808,7 @@ class PipelineOwner {
/// information is cleaned prior to painting so that render objects will /// information is cleaned prior to painting so that render objects will
/// appear on screen in their up-to-date locations. /// appear on screen in their up-to-date locations.
/// ///
/// See [FlutterBinding] for an example of how this function is used. /// See [RendererBinding] for an example of how this function is used.
void flushLayout() { void flushLayout() {
Timeline.startSync('Layout'); Timeline.startSync('Layout');
_debugDoingLayout = true; _debugDoingLayout = true;
...@@ -860,7 +860,7 @@ class PipelineOwner { ...@@ -860,7 +860,7 @@ class PipelineOwner {
/// Painting occurs after layout and before the scene is recomposited so that /// Painting occurs after layout and before the scene is recomposited so that
/// scene is composited with up-to-date display lists for every render object. /// scene is composited with up-to-date display lists for every render object.
/// ///
/// See [FlutterBinding] for an example of how this function is used. /// See [RendererBinding] for an example of how this function is used.
void flushPaint() { void flushPaint() {
Timeline.startSync('Paint'); Timeline.startSync('Paint');
_debugDoingPaint = true; _debugDoingPaint = true;
...@@ -889,7 +889,7 @@ class PipelineOwner { ...@@ -889,7 +889,7 @@ class PipelineOwner {
/// semantics are compiled after painting and only after /// semantics are compiled after painting and only after
/// [RenderObject.scheduleInitialSemantics] has been called. /// [RenderObject.scheduleInitialSemantics] has been called.
/// ///
/// See [FlutterBinding] for an example of how this function is used. /// See [RendererBinding] for an example of how this function is used.
void flushSemantics() { void flushSemantics() {
Timeline.startSync('Semantics'); Timeline.startSync('Semantics');
assert(_semanticsEnabled); assert(_semanticsEnabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment