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

Unified Diff: Source/core/fetch/ScriptResource.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: Created 6 years, 3 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
Index: Source/core/fetch/ScriptResource.cpp
diff --git a/Source/core/fetch/ScriptResource.cpp b/Source/core/fetch/ScriptResource.cpp
index 0bc66149d483b8c8dfca1fd318906eca835ff3b7..c7ef8c0d33faf25521c6e2a91e931ee4f771b9b1 100644
--- a/Source/core/fetch/ScriptResource.cpp
+++ b/Source/core/fetch/ScriptResource.cpp
@@ -55,7 +55,7 @@ void ScriptResource::didAddClient(ResourceClient* client)
Resource::didAddClient(client);
}
-void ScriptResource::appendData(const char* data, int length)
+void ScriptResource::appendData(const char* data, unsigned length)
{
Resource::appendData(data, length);
ResourceClientWalker<ScriptResourceClient> walker(m_clients);

Powered by Google App Engine
This is Rietveld 408576698