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

Unified Diff: Source/core/page/FocusController.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/DOMSelection.cpp ('k') | Source/core/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FocusController.h
diff --git a/Source/core/page/FocusController.h b/Source/core/page/FocusController.h
index 2d2bd738b4e701910b6dc44e30a239e9f1f2d367..f0e11935fa635a71bc9e7e247fef9b672d451bc5 100644
--- a/Source/core/page/FocusController.h
+++ b/Source/core/page/FocusController.h
@@ -28,6 +28,7 @@
#include "core/page/FocusType.h"
#include "platform/geometry/LayoutRect.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -47,6 +48,7 @@ class Page;
class TreeScope;
class FocusNavigationScope {
+ STACK_ALLOCATED();
public:
Node* rootNode() const;
Element* owner() const;
@@ -58,7 +60,7 @@ public:
private:
explicit FocusNavigationScope(TreeScope*);
- TreeScope* m_rootTreeScope;
+ RawPtrWillBeMember<TreeScope> m_rootTreeScope;
};
class FocusController {
« no previous file with comments | « Source/core/page/DOMSelection.cpp ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698