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

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 review 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
Index: Source/core/page/FocusController.h
diff --git a/Source/core/page/FocusController.h b/Source/core/page/FocusController.h
index 2d2bd738b4e701910b6dc44e30a239e9f1f2d367..0a9ff5e501673daf3db7d612830f821e16f5c3af 100644
--- a/Source/core/page/FocusController.h
+++ b/Source/core/page/FocusController.h
@@ -27,6 +27,7 @@
#define FocusController_h
#include "core/page/FocusType.h"
+#include "heap/Handle.h"
wibling-chromium 2014/04/24 14:43:06 NIT: please -> "platform/heap/Handle.h"
Mads Ager (chromium) 2014/04/25 10:58:25 Done.
#include "platform/geometry/LayoutRect.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.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 {

Powered by Google App Engine
This is Rietveld 408576698