Skip to content

Commit

Permalink
Unreviewed Windows build fix after r278516.
Browse files Browse the repository at this point in the history
* platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp:
(WebCore::WebCoreAVCFResourceLoader::dataReceived):
* platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.h:

Canonical link: https://commits.webkit.org/238517@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez committed Jun 5, 2021
1 parent dbfad4d commit a67da78
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,11 @@
2021-06-04 Chris Dumez <cdumez@apple.com>

Unreviewed Windows build fix after r278516.

* platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp:
(WebCore::WebCoreAVCFResourceLoader::dataReceived):
* platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.h:

2021-06-04 Chris Dumez <cdumez@apple.com>

Use Vector<uint8_t> instead of Vector<char> to store bytes in SharedBuffer
Expand Down
Expand Up @@ -138,7 +138,7 @@ void WebCoreAVCFResourceLoader::responseReceived(CachedResource& resource, const
notImplemented();
}

void WebCoreAVCFResourceLoader::dataReceived(CachedResource& resource, const char*, int)
void WebCoreAVCFResourceLoader::dataReceived(CachedResource& resource, const uint8_t*, int)
{
fulfillRequestWithResource(resource);
}
Expand Down
Expand Up @@ -57,7 +57,7 @@ class WebCoreAVCFResourceLoader : public RefCounted<WebCoreAVCFResourceLoader>,
private:
// CachedRawResourceClient
void responseReceived(CachedResource&, const ResourceResponse&, CompletionHandler<void()>&&) override;
void dataReceived(CachedResource&, const char*, int) override;
void dataReceived(CachedResource&, const uint8_t*, int) override;
void notifyFinished(CachedResource&, const NetworkLoadMetrics&) override;

void fulfillRequestWithResource(CachedResource&);
Expand Down

0 comments on commit a67da78

Please sign in to comment.