Title: [101874] trunk/Source/WebCore
- Revision
- 101874
- Author
- [email protected]
- Date
- 2011-12-02 15:55:21 -0800 (Fri, 02 Dec 2011)
Log Message
Build fix for SubresourceLoader when building with Core Foundation
https://bugs.webkit.org/show_bug.cgi?id=73709
Patch by Benjamin Poulain <[email protected]> on 2011-12-02
Reviewed by David Kilzer.
The patch r100311 removed SubresourceClient and merged it in SubresourceLoader.
Consequently, m_client does not exist anymore and there is no need to do the check
before invoking didReceiveData().
* loader/cf/SubresourceLoaderCF.cpp:
(WebCore::SubresourceLoader::didReceiveDataArray):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (101873 => 101874)
--- trunk/Source/WebCore/ChangeLog 2011-12-02 23:54:43 UTC (rev 101873)
+++ trunk/Source/WebCore/ChangeLog 2011-12-02 23:55:21 UTC (rev 101874)
@@ -1,3 +1,17 @@
+2011-12-02 Benjamin Poulain <[email protected]>
+
+ Build fix for SubresourceLoader when building with Core Foundation
+ https://bugs.webkit.org/show_bug.cgi?id=73709
+
+ Reviewed by David Kilzer.
+
+ The patch r100311 removed SubresourceClient and merged it in SubresourceLoader.
+ Consequently, m_client does not exist anymore and there is no need to do the check
+ before invoking didReceiveData().
+
+ * loader/cf/SubresourceLoaderCF.cpp:
+ (WebCore::SubresourceLoader::didReceiveDataArray):
+
2011-12-02 Andreas Kling <[email protected]>
StyledElement: Simplify addCSSColor().
Modified: trunk/Source/WebCore/loader/cf/SubresourceLoaderCF.cpp (101873 => 101874)
--- trunk/Source/WebCore/loader/cf/SubresourceLoaderCF.cpp 2011-12-02 23:54:43 UTC (rev 101873)
+++ trunk/Source/WebCore/loader/cf/SubresourceLoaderCF.cpp 2011-12-02 23:55:21 UTC (rev 101874)
@@ -41,8 +41,6 @@
if (!m_loadingMultipartContent) {
CFIndex arrayCount = CFArrayGetCount(dataArray);
for (CFIndex i = 0; i < arrayCount; ++i) {
- if (!m_client)
- break;
CFDataRef data = "" i));
didReceiveData(reinterpret_cast<const char *>(CFDataGetBytePtr(data)), static_cast<int>(CFDataGetLength(data)), -1, false);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes