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

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

Issue 23890025: WIP (Introduce WTF::NonNullPtr<T>.) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/html/HTMLMapElement.cpp ('k') | Source/core/page/FocusController.cpp » ('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 ff245c6fb849f0d83fbc85a9e34a098cc7c3b2a4..a0c5b343f1595c465699f9e498110eb5308039d3 100644
--- a/Source/core/page/FocusController.h
+++ b/Source/core/page/FocusController.h
@@ -29,6 +29,7 @@
#include "core/page/FocusDirection.h"
#include "core/platform/graphics/LayoutRect.h"
#include "wtf/Forward.h"
+#include "wtf/NonNullPtr.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -57,8 +58,8 @@ public:
static FocusNavigationScope ownedByIFrame(HTMLFrameOwnerElement*);
private:
- explicit FocusNavigationScope(TreeScope*);
- TreeScope* m_rootTreeScope;
+ explicit FocusNavigationScope(NonNullPtr<TreeScope>);
+ NonNullPtr<TreeScope> m_rootTreeScope;
};
class FocusController {
« no previous file with comments | « Source/core/html/HTMLMapElement.cpp ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698