| Index: Source/modules/quota/DOMWindowQuota.cpp
|
| diff --git a/Source/modules/quota/DOMWindowQuota.cpp b/Source/modules/quota/DOMWindowQuota.cpp
|
| index 053816047587075d104ca7e2f04aabf70674a7ef..e194ceb0bc3d1d6a63b45e597c6d13ba4be273be 100644
|
| --- a/Source/modules/quota/DOMWindowQuota.cpp
|
| +++ b/Source/modules/quota/DOMWindowQuota.cpp
|
| @@ -39,21 +39,20 @@
|
|
|
| namespace WebCore {
|
|
|
| +#ifdef DOMWindow_IS_GARBAGE_COLLECTED
|
| +DEFINE_GC_INFO(DOMWindowQuota);
|
| +#endif
|
| +
|
| DOMWindowQuota::DOMWindowQuota(DOMWindow* window)
|
| : DOMWindowProperty(window->frame())
|
| {
|
| }
|
|
|
| -DOMWindowQuota::~DOMWindowQuota()
|
| -{
|
| -}
|
| -
|
| const char* DOMWindowQuota::supplementName()
|
| {
|
| return "DOMWindowQuota";
|
| }
|
|
|
| -// static
|
| DOMWindowQuota* DOMWindowQuota::from(DOMWindow* window)
|
| {
|
| DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(Supplement<DOMWindow>::from(window, supplementName()));
|
| @@ -64,7 +63,6 @@ DOMWindowQuota* DOMWindowQuota::from(DOMWindow* window)
|
| return supplement;
|
| }
|
|
|
| -// static
|
| DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo(DOMWindow* window)
|
| {
|
| return DOMWindowQuota::from(window)->webkitStorageInfo();
|
| @@ -77,4 +75,11 @@ DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo() const
|
| return m_storageInfo.get();
|
| }
|
|
|
| +#ifdef DOMWindow_IS_GARBAGE_COLLECTED
|
| +void DOMWindowQuota::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_storageInfo);
|
| +}
|
| +#endif
|
| +
|
| } // namespace WebCore
|
|
|