From 587dd00619f47ef83e76b4a1bc8f8b4be333dc4b Mon Sep 17 00:00:00 2001 From: Yuqian Li Date: Thu, 8 Oct 2020 12:20:30 -0700 Subject: [PATCH] Add the missing parantheses (#67446) Fixes https://github.com/flutter/flutter/issues/67343 --- packages/flutter/lib/src/rendering/platform_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/rendering/platform_view.dart b/packages/flutter/lib/src/rendering/platform_view.dart index 0b69147679d..56524b8aada 100644 --- a/packages/flutter/lib/src/rendering/platform_view.dart +++ b/packages/flutter/lib/src/rendering/platform_view.dart @@ -205,7 +205,7 @@ class RenderAndroidView extends RenderBox with _PlatformViewGestureMixin { // Clip the texture if it's going to paint out of the bounds of the renter box // (see comment in _paintTexture for an explanation of when this happens). - if (size.width < _currentAndroidViewSize.width || size.height < _currentAndroidViewSize.height && clipBehavior != Clip.none) { + if ((size.width < _currentAndroidViewSize.width || size.height < _currentAndroidViewSize.height) && clipBehavior != Clip.none) { context.pushClipRect(true, offset, offset & size, _paintTexture, clipBehavior: clipBehavior); return; }