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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2612713002: Move core/editing timer to frame-specific task runners. (Closed)
Patch Set: Created 3 years, 12 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: 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>()|.
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameCaret.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698