Index: third_party/WebKit/Source/core/editing/FrameSelection.h |
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h |
index 24a903f0b6793212aaf9c072c1818ff0010f94b0..4b609af678dfd4e2a3ec142aa91b85a698d9bfc8 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h |
@@ -70,7 +70,7 @@ class CORE_EXPORT FrameSelection final |
WTF_MAKE_NONCOPYABLE(FrameSelection); |
public: |
- static FrameSelection* create(LocalFrame* frame) { |
+ static FrameSelection* create(LocalFrame& frame) { |
return new FrameSelection(frame); |
} |
~FrameSelection(); |
@@ -286,7 +286,7 @@ class CORE_EXPORT FrameSelection final |
FRIEND_TEST_ALL_PREFIXES(PaintControllerPaintTestForSlimmingPaintV1AndV2, |
FullDocumentPaintingWithCaret); |
- explicit FrameSelection(LocalFrame*); |
+ explicit FrameSelection(LocalFrame&); |
// Note: We have |selectionInFlatTree()| for unit tests, we should |
// use |visibleSelection<EditingInFlatTreeStrategy>()|. |