Commit e69e6c3e authored by Adam Barth's avatar Adam Barth

Rename StatisticsBox to RenderStatisticsBox

Fixes #441
parent 7d7e20fd
......@@ -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