Title: [94423] trunk/Source/WebCore
- Revision
- 94423
- Author
- ant...@chromium.org
- Date
- 2011-09-02 09:50:44 -0700 (Fri, 02 Sep 2011)
Log Message
[v8] Use size_t instead of unsigned when iterating over Vector in V8DOMStringMap
https://bugs.webkit.org/show_bug.cgi?id=67484
Reviewed by Yury Semikhatsky.
No new tests, minor cleanup.
* bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::V8DOMStringMap::namedPropertyEnumerator):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94422 => 94423)
--- trunk/Source/WebCore/ChangeLog 2011-09-02 16:38:32 UTC (rev 94422)
+++ trunk/Source/WebCore/ChangeLog 2011-09-02 16:50:44 UTC (rev 94423)
@@ -1,3 +1,15 @@
+2011-09-02 Anton Muhin <ant...@chromium.org>
+
+ [v8] Use size_t instead of unsigned when iterating over Vector in V8DOMStringMap
+ https://bugs.webkit.org/show_bug.cgi?id=67484
+
+ Reviewed by Yury Semikhatsky.
+
+ No new tests, minor cleanup.
+
+ * bindings/v8/custom/V8DOMStringMapCustom.cpp:
+ (WebCore::V8DOMStringMap::namedPropertyEnumerator):
+
2011-09-02 Sheriff Bot <webkit.review....@gmail.com>
Unreviewed, rolling out r94404.
Modified: trunk/Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp (94422 => 94423)
--- trunk/Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp 2011-09-02 16:38:32 UTC (rev 94422)
+++ trunk/Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp 2011-09-02 16:50:44 UTC (rev 94423)
@@ -58,7 +58,7 @@
Vector<String> names;
V8DOMStringMap::toNative(info.Holder())->getNames(names);
v8::Handle<v8::Array> properties = v8::Array::New(names.size());
- for (unsigned i = 0; i < names.size(); ++i)
+ for (size_t i = 0; i < names.size(); ++i)
properties->Set(v8::Integer::New(i), v8String(names[i]));
return properties;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes