| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index dae347c7eed3cb2beeaa3708f6564629b8a72db9..dd206adbfa48fd9f62820dcf5d678c72ec804dd6 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -363,8 +363,8 @@
|
|
|
| Document::WeakDocumentSet& Document::liveDocumentSet()
|
| {
|
| - DEFINE_STATIC_LOCAL(WeakDocumentSet, set, (new WeakDocumentSet));
|
| - return set;
|
| + DEFINE_STATIC_LOCAL(Persistent<WeakDocumentSet>, set, (new WeakDocumentSet()));
|
| + return *set;
|
| }
|
|
|
| // This class doesn't work with non-Document ExecutionContext.
|
|
|