Unreviewed build fix after 121580.
authorshawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jun 2012 21:25:55 +0000 (21:25 +0000)
committershawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jun 2012 21:25:55 +0000 (21:25 +0000)
WebKit Linux debug bots was complaining about signed vs unsigned integer comparison.

* html/HTMLCollection.h:
(WebCore::HTMLCollectionCacheBase::HTMLCollectionCacheBase):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLCollection.h

index d47dace..03e872b 100644 (file)
@@ -1,3 +1,12 @@
+2012-06-29  Shawn Singh  <shawnsingh@chromium.org>
+
+        Unreviewed build fix after 121580.
+
+        WebKit Linux debug bots was complaining about signed vs unsigned integer comparison.
+
+        * html/HTMLCollection.h:
+        (WebCore::HTMLCollectionCacheBase::HTMLCollectionCacheBase):
+
 2012-06-28  James Robinson  <jamesr@chromium.org>
 
         [chromium] Remove mapRect and mapQuad from WebTransformationMatrix
index 1d85c9d..cf71374 100644 (file)
@@ -47,7 +47,7 @@ public:
         , m_type(type)
         , m_includeChildren(includeChildren)
     {
-        ASSERT(m_type == type);
+        ASSERT(static_cast<CollectionType>(m_type) == type);
     }
 
     CollectionType type() const { return static_cast<CollectionType>(m_type); }