Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1268)

Unified Diff: Source/core/page/Page.h

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/FocusController.h ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index 54684b6a1bcafe1bdfde7333ae44b9161f92fcc7..06d688c3f2713979ae51ca2f9185531841a08f15 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -30,6 +30,7 @@
#include "platform/Supplementable.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/geometry/Region.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
#include "wtf/Noncopyable.h"
@@ -201,7 +202,7 @@ public:
double timerAlignmentInterval() const;
- class MultisamplingChangedObserver {
+ class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin {
public:
virtual void multisamplingChanged(bool) = 0;
};
@@ -215,7 +216,7 @@ public:
PassOwnPtr<LifecycleNotifier<Page> > createLifecycleNotifier();
void trace(Visitor*);
-
+ void clearWeakMembers(Visitor*);
void willBeDestroyed();
protected:
@@ -281,7 +282,7 @@ private:
bool m_isPainting;
#endif
- HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
+ WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_multisamplingChangedObservers;
// 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.
« no previous file with comments | « Source/core/page/FocusController.h ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698