Remove RepaintBoundary that is no longer needed. (#159232)
Closes https://github.com/flutter/flutter/issues/66006. From what I can tell in the multi-view effort a variation of https://github.com/flutter/flutter/pull/88609 already landed, meaning that the current device-pixel-ratio is being used (as the tests in #88609 are now passing), and I believe that means we can remove the override/hack. Will rely on "Google Testing" to run a TGP internally, or do so myself if necessary.
This commit is contained in:
@@ -30,6 +30,11 @@ void main() {
|
||||
final Matrix4 matrix = TestViewConfiguration(size: Size.zero).toMatrix();
|
||||
expect(matrix.storage.every((double x) => x.isFinite), isTrue);
|
||||
});
|
||||
|
||||
test('sets the DPR to match the window', () {
|
||||
final TestViewConfiguration configuration = TestViewConfiguration(size: const Size(1280.0, 800.0));
|
||||
expect(configuration.devicePixelRatio, binding.window.devicePixelRatio);
|
||||
});
|
||||
});
|
||||
|
||||
group(AutomatedTestWidgetsFlutterBinding, () {
|
||||
|
||||
Reference in New Issue
Block a user