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

Unified Diff: Source/core/html/imports/HTMLImportLoader.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/html/imports/HTMLImportLoader.cpp
diff --git a/Source/core/html/imports/HTMLImportLoader.cpp b/Source/core/html/imports/HTMLImportLoader.cpp
index a80db740166613d80a6d710c7bf300c16018b253..cd70099753a2b5f64efdfc69f380595ed89552ab 100644
--- a/Source/core/html/imports/HTMLImportLoader.cpp
+++ b/Source/core/html/imports/HTMLImportLoader.cpp
@@ -91,7 +91,7 @@ void HTMLImportLoader::responseReceived(Resource* resource, const ResourceRespon
setState(startWritingAndParsing(response));
}
-void HTMLImportLoader::dataReceived(Resource*, const char* data, int length)
+void HTMLImportLoader::dataReceived(Resource*, const char* data, unsigned length)
{
RefPtrWillBeRawPtr<DocumentWriter> protectingWriter(m_writer.get());
m_writer->addData(data, length);

Powered by Google App Engine
This is Rietveld 408576698