Skip to content

Commit

Permalink
Only log about resource context setup failures on debug builds. (flut…
Browse files Browse the repository at this point in the history
…ter#3601)

We were unnecessarily alarming users when they used the software backend. Fixes flutter/flutter#9394
  • Loading branch information
chinmaygarde authored Apr 17, 2017
1 parent 306a477 commit c92f550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/common/platform_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ void PlatformView::SetupResourceContextOnIOThreadPerform(
bool current = ResourceContextMakeCurrent();

if (!current) {
FTL_LOG(WARNING)
<< "WARNING: Could not setup an OpenGL context on the resource loader.";
FTL_DLOG(WARNING)
<< "WARNING: Could not setup a context on the resource loader.";
latch->Signal();
return;
}
Expand Down

0 comments on commit c92f550

Please sign in to comment.