Chromium Code Reviews
DescriptionMake WebURLLoaderMockFactoryImpl::createURLLoader accept nullptr
Now a valid instance of WebURLLoader is required to create a
WebURLLoaderMock instance through createURLLoader() so that
it can have defaultLoader, a WebURLLoader for fallbacks.
But, in most cases, it can work without defaultLoader since
many tests are designed to use mocked URLs that would be
served from files directly without using defaultLoader.
In blink_platform_tests, default Platform::current() does not
return a valid instance for createURLLoader(). So allowing
nullptr would be useful.
BUG=655920
Review-Url: https://codereview.chromium.org/2657793002
Cr-Commit-Position: refs/heads/master@{#446316}
Committed: https://chromium.googlesource.com/chromium/src/+/0fa47a4664f18f8f4a2d28408ff4754eb600aaf4
Patch Set 1 #Patch Set 2 : base change #
Total comments: 2
Patch Set 3 : #12 #Patch Set 4 : cl format #
Messages
Total messages: 20 (12 generated)
|
|||||||||||||||||||||||||||||||||||||