Title: [126800] trunk/Source/WebCore
- Revision
- 126800
- Author
- [email protected]
- Date
- 2012-08-27 14:52:42 -0700 (Mon, 27 Aug 2012)
Log Message
Fix compiler warnings in TextureMapperLayer.cpp
https://bugs.webkit.org/show_bug.cgi?id=95128
Reviewed by Noam Rosenthal.
Fix the warnings caused by -Wsign-compare.
* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::paintSelfAndChildren):
(WebCore::shouldKeepContentTexture):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (126799 => 126800)
--- trunk/Source/WebCore/ChangeLog 2012-08-27 21:49:43 UTC (rev 126799)
+++ trunk/Source/WebCore/ChangeLog 2012-08-27 21:52:42 UTC (rev 126800)
@@ -1,3 +1,16 @@
+2012-08-27 Rob Buis <[email protected]>
+
+ Fix compiler warnings in TextureMapperLayer.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=95128
+
+ Reviewed by Noam Rosenthal.
+
+ Fix the warnings caused by -Wsign-compare.
+
+ * platform/graphics/texmap/TextureMapperLayer.cpp:
+ (WebCore::TextureMapperLayer::paintSelfAndChildren):
+ (WebCore::shouldKeepContentTexture):
+
2012-08-27 Adam Barth <[email protected]>
[V8] Clean up reportFatalError in V8DOMWindowShell.cpp
Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp (126799 => 126800)
--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp 2012-08-27 21:49:43 UTC (rev 126799)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp 2012-08-27 21:52:42 UTC (rev 126800)
@@ -199,7 +199,7 @@
if (shouldClip)
options.textureMapper->beginClip(TransformationMatrix(options.transform).multiply(m_transform.combined()), layerRect());
- for (int i = 0; i < m_children.size(); ++i)
+ for (size_t i = 0; i < m_children.size(); ++i)
m_children[i]->paintRecursive(options);
if (shouldClip)
@@ -322,7 +322,7 @@
#if ENABLE(CSS_FILTERS)
static bool shouldKeepContentTexture(const FilterOperations& filters)
{
- for (int i = 0; i < filters.size(); ++i) {
+ for (size_t i = 0; i < filters.size(); ++i) {
switch (filters.operations().at(i)->getOperationType()) {
// The drop-shadow filter requires the content texture, because it needs to composite it
// on top of the blurred shadow color.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes