fix an issue with dart chrome apps
Merge pull request #3354 from devoncarew/devoncarew_fix_dart_chrome

fix an issue with dart chrome apps