Commit 4d0520bb authored by Adam Barth's avatar Adam Barth

Merge pull request #450 from abarth/rename_statistics_box

Rename StatisticsBox to RenderStatisticsBox
parents 7d7e20fd e69e6c3e
......@@ -5,9 +5,9 @@
import 'box.dart';
import 'object.dart';
class StatisticsBox extends RenderBox {
class RenderStatisticsBox extends RenderBox {
StatisticsBox({int optionsMask: 0, int rasterizerThreshold: 0})
RenderStatisticsBox({int optionsMask: 0, int rasterizerThreshold: 0})
: _optionsMask = optionsMask,
_rasterizerThreshold = rasterizerThreshold;
......
......@@ -83,12 +83,12 @@ class StatisticsOverlay extends LeafRenderObjectWidget {
/// how many frame intervals).
final int rasterizerThreshold;
StatisticsBox createRenderObject() => new StatisticsBox(
RenderStatisticsBox createRenderObject() => new RenderStatisticsBox(
optionsMask: optionsMask,
rasterizerThreshold: rasterizerThreshold
);
void updateRenderObject(StatisticsBox renderObject, RenderObjectWidget oldWidget) {
void updateRenderObject(RenderStatisticsBox renderObject, RenderObjectWidget oldWidget) {
renderObject.optionsMask = optionsMask;
renderObject.rasterizerThreshold = rasterizerThreshold;
}
......
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