Title: [103122] trunk/Source/WebCore
Revision
103122
Author
[email protected]
Date
2011-12-16 15:45:29 -0800 (Fri, 16 Dec 2011)

Log Message

Unreviewed debug build fix after r103115.

* dom/Document.cpp:
(WebCore::Document::cachedCollection):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103121 => 103122)


--- trunk/Source/WebCore/ChangeLog	2011-12-16 23:43:40 UTC (rev 103121)
+++ trunk/Source/WebCore/ChangeLog	2011-12-16 23:45:29 UTC (rev 103122)
@@ -1,3 +1,10 @@
+2011-12-16  Andreas Kling  <[email protected]>
+
+        Unreviewed debug build fix after r103115.
+
+        * dom/Document.cpp:
+        (WebCore::Document::cachedCollection):
+
 2011-12-16  Mark Hahnenberg  <[email protected]>
 
         Windows test fix

Modified: trunk/Source/WebCore/dom/Document.cpp (103121 => 103122)


--- trunk/Source/WebCore/dom/Document.cpp	2011-12-16 23:43:40 UTC (rev 103121)
+++ trunk/Source/WebCore/dom/Document.cpp	2011-12-16 23:45:29 UTC (rev 103122)
@@ -4192,7 +4192,7 @@
 
 const RefPtr<HTMLCollection>& Document::cachedCollection(CollectionType type)
 {
-    ASSERT(type < NumUnnamedDocumentCachedTypes);
+    ASSERT(static_cast<unsigned>(type) < NumUnnamedDocumentCachedTypes);
     if (!m_collections[type])
         m_collections[type] = HTMLCollection::createForCachingOnDocument(this, type);
     return m_collections[type];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to