| Index: Source/core/dom/ClientRectList.cpp
|
| diff --git a/Source/core/dom/ClientRectList.cpp b/Source/core/dom/ClientRectList.cpp
|
| index 1ab6d6f16254081bcad86270a44331f15ebaac0c..88837112ba3fc504f25c4647e3e65fd41476c06c 100644
|
| --- a/Source/core/dom/ClientRectList.cpp
|
| +++ b/Source/core/dom/ClientRectList.cpp
|
| @@ -51,11 +51,8 @@ unsigned ClientRectList::length() const
|
|
|
| ClientRect* ClientRectList::item(unsigned index)
|
| {
|
| - if (index >= m_list.size()) {
|
| - // FIXME: this should throw an exception.
|
| - // ec = IndexSizeError;
|
| + if (index >= m_list.size())
|
| return 0;
|
| - }
|
|
|
| return m_list[index].get();
|
| }
|
|
|