Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1477)

Unified Diff: Source/core/loader/ThreadableLoaderClient.h

Issue 618583002: Correct data size argument type in resource loading path to unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add static_cast to RELEASE_ASSERT in AssociatedURLLoader::ClientAdapter::didReceiveData Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/core/loader/ThreadableLoaderClientWrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/ThreadableLoaderClient.h
diff --git a/Source/core/loader/ThreadableLoaderClient.h b/Source/core/loader/ThreadableLoaderClient.h
index 3895fb4114045c7f217e0b996a0e2dde271a4003..8a7e42c9f18803a14c21599d153ef01e22df9eb4 100644
--- a/Source/core/loader/ThreadableLoaderClient.h
+++ b/Source/core/loader/ThreadableLoaderClient.h
@@ -47,7 +47,7 @@ namespace blink {
virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/) { }
virtual void didReceiveResponse(unsigned long /*identifier*/, const ResourceResponse&) { }
- virtual void didReceiveData(const char*, int /*dataLength*/) { }
+ virtual void didReceiveData(const char*, unsigned /*dataLength*/) { }
virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) { }
virtual void didFail(const ResourceError&) { }
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/core/loader/ThreadableLoaderClientWrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698