git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Web Inspector: Array/Collection Sizes should be visible and distinct
[WebKit-https.git]
/
Source
/
JavaScriptCore
/
runtime
/
WeakMapData.h
diff --git
a/Source/JavaScriptCore/runtime/WeakMapData.h
b/Source/JavaScriptCore/runtime/WeakMapData.h
index
68ea46f
..
45336c2
100644
(file)
--- a/
Source/JavaScriptCore/runtime/WeakMapData.h
+++ b/
Source/JavaScriptCore/runtime/WeakMapData.h
@@
-67,6
+67,8
@@
public:
MapType::const_iterator begin() const { return m_map.begin(); }
MapType::const_iterator end() const { return m_map.end(); }
+ int size() const { return m_map.size(); }
+
private:
WeakMapData(VM&);
static void destroy(JSCell*);