| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
| 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "core/paint/PaintLayer.h" | 51 #include "core/paint/PaintLayer.h" |
| 52 #include "platform/graphics/GraphicsLayer.h" | 52 #include "platform/graphics/GraphicsLayer.h" |
| 53 #include "platform/plugins/PluginData.h" | 53 #include "platform/plugins/PluginData.h" |
| 54 #include "public/platform/Platform.h" | 54 #include "public/platform/Platform.h" |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 | 57 |
| 58 // static | 58 // static |
| 59 WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& Page::allPages() | 59 WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& Page::allPages() |
| 60 { | 60 { |
| 61 DEFINE_STATIC_LOCAL(WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>
>, allPages, ()); | 61 DEFINE_STATIC_LOCAL_NO_REGISTER(WillBePersistentHeapHashSet<RawPtrWillBeWeak
Member<Page>>, allPages, ()); |
| 62 return allPages; | 62 return allPages; |
| 63 } | 63 } |
| 64 | 64 |
| 65 // static | 65 // static |
| 66 WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& Page::ordinaryPages() | 66 WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& Page::ordinaryPages() |
| 67 { | 67 { |
| 68 DEFINE_STATIC_LOCAL(WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>
>, ordinaryPages, ()); | 68 DEFINE_STATIC_LOCAL_NO_REGISTER(WillBePersistentHeapHashSet<RawPtrWillBeWeak
Member<Page>>, ordinaryPages, ()); |
| 69 return ordinaryPages; | 69 return ordinaryPages; |
| 70 } | 70 } |
| 71 | 71 |
| 72 void Page::networkStateChanged(bool online) | 72 void Page::networkStateChanged(bool online) |
| 73 { | 73 { |
| 74 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; | 74 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; |
| 75 | 75 |
| 76 // Get all the frames of all the pages in all the page groups | 76 // Get all the frames of all the pages in all the page groups |
| 77 for (Page* page : allPages()) { | 77 for (Page* page : allPages()) { |
| 78 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().trav
erseNext()) { | 78 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().trav
erseNext()) { |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 { | 586 { |
| 587 } | 587 } |
| 588 | 588 |
| 589 Page::PageClients::~PageClients() | 589 Page::PageClients::~PageClients() |
| 590 { | 590 { |
| 591 } | 591 } |
| 592 | 592 |
| 593 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 593 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 594 | 594 |
| 595 } // namespace blink | 595 } // namespace blink |
| OLD | NEW |