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

Unified Diff: Source/core/loader/appcache/ApplicationCacheHost.cpp

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/appcache/ApplicationCacheHost.h ('k') | Source/core/page/EventSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/appcache/ApplicationCacheHost.cpp
diff --git a/Source/core/loader/appcache/ApplicationCacheHost.cpp b/Source/core/loader/appcache/ApplicationCacheHost.cpp
index e20e935e906a17fde2de4056d8f210231810f4cb..ff117d0997a5788174b84506a47c4ad354124c4b 100644
--- a/Source/core/loader/appcache/ApplicationCacheHost.cpp
+++ b/Source/core/loader/appcache/ApplicationCacheHost.cpp
@@ -132,7 +132,7 @@ void ApplicationCacheHost::didReceiveResponseForMainResource(const ResourceRespo
}
}
-void ApplicationCacheHost::mainResourceDataReceived(const char* data, int length)
+void ApplicationCacheHost::mainResourceDataReceived(const char* data, unsigned length)
{
if (m_host)
m_host->didReceiveDataForMainResource(data, length);
« no previous file with comments | « Source/core/loader/appcache/ApplicationCacheHost.h ('k') | Source/core/page/EventSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698