diff options
author | Kristian Monsen <kristianm@google.com> | 2011-08-11 16:19:08 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-08-11 16:51:32 +0100 |
commit | 09750f5c829979ca6fc0c740459029d3f606b734 (patch) | |
tree | 47cd087501fd3a2ed9f08a69311581f1004632d8 /Source | |
parent | 74b4c3d7548b7c2b670aa0e72aee5d1f0bba2a3d (diff) | |
download | external_webkit-09750f5c829979ca6fc0c740459029d3f606b734.zip external_webkit-09750f5c829979ca6fc0c740459029d3f606b734.tar.gz external_webkit-09750f5c829979ca6fc0c740459029d3f606b734.tar.bz2 |
Part of fix for bug 5152544 Reduce the number of warning, int and size_t
Don't compare and use size_t with int
Change-Id: I08b329cdb192fa031acae5a90cd6ad6d8ec39aea
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebCore/rendering/RenderLayerCompositor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderLayerCompositor.cpp b/Source/WebCore/rendering/RenderLayerCompositor.cpp index b8e30cb..e757080 100644 --- a/Source/WebCore/rendering/RenderLayerCompositor.cpp +++ b/Source/WebCore/rendering/RenderLayerCompositor.cpp @@ -621,10 +621,10 @@ bool RenderLayerCompositor::overlapsCompositedLayers(OverlapMap& overlapMap, con // bool RenderLayerCompositor::checkForFixedLayers(Vector<RenderLayer*>* list, bool stopAtFixedLayer) { - size_t listSize = list->size(); + int listSize = list->size(); int haveFixedLayer = -1; bool fixedSibling = false; - for (size_t j = 0; j < listSize; ++j) { + for (int j = 0; j < listSize; ++j) { RenderLayer* currentLayer = list->at(j); if (currentLayer->isFixed() && needsToBeComposited(currentLayer)) { haveFixedLayer = j; @@ -644,7 +644,7 @@ bool RenderLayerCompositor::checkForFixedLayers(Vector<RenderLayer*>* list, bool if (stopAtFixedLayer) stop = haveFixedLayer + 1; - for (size_t k = j - 1; k >= stop; --k) { + for (int k = j - 1; k >= stop; --k) { RenderLayer* aLayer = list->at(k); if (aLayer && aLayer->renderer()) { IntRect bounds = aLayer->renderer()->localToAbsoluteQuad( |