Chromium Code Reviews| Index: Source/core/page/Page.h |
| diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h |
| index 34c94e75edb0fdf3d01a925c64a2171cd344076b..f29a7f356c191c381d6b022f7916e694231f6825 100644 |
| --- a/Source/core/page/Page.h |
| +++ b/Source/core/page/Page.h |
| @@ -27,6 +27,7 @@ |
| #include "core/frame/UseCounter.h" |
| #include "core/page/PageAnimator.h" |
| #include "core/page/PageVisibilityState.h" |
| +#include "core/wawwa/ListOfElements.h" |
| #include "platform/LifecycleContext.h" |
| #include "platform/Supplementable.h" |
| #include "platform/geometry/LayoutRect.h" |
| @@ -308,6 +309,13 @@ private: |
| // A pointer to all the interfaces provided to in-process Frames for this Page. |
| // FIXME: Most of the members of Page should move onto FrameHost. |
| OwnPtrWillBeMember<FrameHost> m_frameHost; |
| + |
| +public: |
| + RefPtr<ListOfElements> m_listOfElements; |
| + void add(DedicatedWorkerGlobalScope * instance) |
|
shans
2014/08/25 11:53:58
add needs a more descriptive name.
|
| + { |
| + m_listOfElements->addToWorkerGlobalScopeVector(instance); |
| + } |
| }; |
| } // namespace blink |