Title: [163503] trunk/Source/WebCore
- Revision
- 163503
- Author
- [email protected]
- Date
- 2014-02-05 18:23:35 -0800 (Wed, 05 Feb 2014)
Log Message
Fix a warning.
* platform/mac/ContentFilterMac.mm:
(WebCore::ContentFilter::ContentFilter):
Remove an unnecessary comparison.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (163502 => 163503)
--- trunk/Source/WebCore/ChangeLog 2014-02-06 02:11:51 UTC (rev 163502)
+++ trunk/Source/WebCore/ChangeLog 2014-02-06 02:23:35 UTC (rev 163503)
@@ -1,3 +1,11 @@
+2014-02-05 Anders Carlsson <[email protected]>
+
+ Fix a warning.
+
+ * platform/mac/ContentFilterMac.mm:
+ (WebCore::ContentFilter::ContentFilter):
+ Remove an unnecessary comparison.
+
2014-02-05 Csaba Osztrogonác <[email protected]>
Fix the !ENABLE(PAGE_VISIBILITY_API) build
Modified: trunk/Source/WebCore/platform/mac/ContentFilterMac.mm (163502 => 163503)
--- trunk/Source/WebCore/platform/mac/ContentFilterMac.mm 2014-02-06 02:11:51 UTC (rev 163502)
+++ trunk/Source/WebCore/platform/mac/ContentFilterMac.mm 2014-02-06 02:23:35 UTC (rev 163503)
@@ -104,7 +104,7 @@
m_neFilterSourceQueue = dispatch_queue_create("com.apple.WebCore.NEFilterSourceQueue", DISPATCH_QUEUE_SERIAL);
long long expectedContentSize = [response.nsURLResponse() expectedContentLength];
- if (expectedContentSize < 0 || expectedContentSize > NSUIntegerMax)
+ if (expectedContentSize < 0)
m_originalData = adoptNS([[NSMutableData alloc] init]);
else
m_originalData = adoptNS([[NSMutableData alloc] initWithCapacity:(NSUInteger)expectedContentSize]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes