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

Unified Diff: Source/core/page/Frame.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/page/FocusController.cpp ('k') | Source/core/page/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Frame.h
diff --git a/Source/core/page/Frame.h b/Source/core/page/Frame.h
index 1a912eb6c1f80af8cf15e7f727852f7dd4cf6742..625fd05fe2d7f741a391dfda05d04b3240f35f83 100644
--- a/Source/core/page/Frame.h
+++ b/Source/core/page/Frame.h
@@ -35,6 +35,7 @@
#include "core/platform/ScrollTypes.h"
#include "core/platform/graphics/IntSize.h"
#include "wtf/Forward.h"
+#include "wtf/NonNullPtr.h"
#include "wtf/RefCounted.h"
namespace WebCore {
@@ -100,7 +101,7 @@ namespace WebCore {
NavigationScheduler* navigationScheduler() const;
FrameSelection& selection() const;
FrameTree* tree() const;
- AnimationController* animation() const;
+ NonNullPtr<AnimationController> animation() const;
InputMethodController& inputMethodController() const;
FetchContext& fetchContext() const { return loader()->fetchContext(); }
ScriptController* script();
@@ -241,7 +242,7 @@ namespace WebCore {
return *m_editor;
}
- inline AnimationController* Frame::animation() const
+ inline NonNullPtr<AnimationController> Frame::animation() const
{
return m_animationController.get();
}
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/core/page/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698