Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unnecessary ,
  • Loading branch information
dnfield committed Oct 7, 2020
commit eaf87d02ccbc64eade83490604fcd4fa74825e87
2 changes: 1 addition & 1 deletion shell/platform/darwin/ios/rendering_api_selection.mm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ IOSRenderingAPI GetRenderingAPIForProcess(bool force_software) {
}
#elif !FLUTTER_RELEASE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call on the log. Why !FLUTTER_RELEASE though? This is still a warning log that will only show up when verbose logging is enabled. I'd just use #else.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figure avoid the overhead if you're on release, since you should've seen it already in debug/profile if you're trying. I guess it's probably not a ton of overhead to do the bool check though.. I'll change it to else.

if (force_software) {
FML_LOG(WARNING) << "The --enable-software-rendering is only supported on Simulator targets, "
FML_LOG(WARNING) << "The --enable-software-rendering is only supported on Simulator targets "
"and will be ignored.";
}
#endif // TARGET_OS_SIMULATOR
Expand Down