Chromium Code Reviews
Descriptionfix MemoryResourceProvider context on Windows
On Windows, the MemoryResourceProvider.convertPath method
prefixes the path with the C: drive, but the context associated with
the MemoryResourceProvider has a drive letter based upon the underlying
current directory. Most of the time, these two drive letters are the
same, but sometimes, such as on the Windows bot, the current working
directory is on drive E:, rather than drive C:.
This causes package Uris to be mapped to drive E: rather than the
expected drive C:
This CL changes the MemoryResourceProvider constructor
to set the current working directory to C:\ when running on Windows
so that it aligns with MemoryResourceProvider.convertPath.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/4ca5ac929a3525709afe9ff02cde32f184a77a22
Patch Set 1 #Patch Set 2 : merge #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||||||||||||||||||||