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

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

Issue 2426513002: Prune createVisiblePositionDeprecated (Closed)
Patch Set: Created 4 years, 2 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/VisiblePosition.h
diff --git a/third_party/WebKit/Source/core/editing/VisiblePosition.h b/third_party/WebKit/Source/core/editing/VisiblePosition.h
index 811bf84ed54f4a4bbea3cd49d96b382e1896c9bb..d0bd4d718c3948acec3c206385da2ca30d4aca82 100644
--- a/third_party/WebKit/Source/core/editing/VisiblePosition.h
+++ b/third_party/WebKit/Source/core/editing/VisiblePosition.h
@@ -138,20 +138,6 @@ using VisiblePosition = VisiblePositionTemplate<EditingStrategy>;
using VisiblePositionInFlatTree =
VisiblePositionTemplate<EditingInFlatTreeStrategy>;
-// |createVisiblePositionDeprecated| updates layout before creating the
-// VisiblePosition, which messes up the rendering pipeline. The callers should
-// ensure clean layout by themselves and call |createVisiblePosition| instead.
-CORE_EXPORT VisiblePosition
-createVisiblePositionDeprecated(const Position&,
- TextAffinity = VP_DEFAULT_AFFINITY);
-CORE_EXPORT VisiblePosition
-createVisiblePositionDeprecated(const PositionWithAffinity&);
-CORE_EXPORT VisiblePositionInFlatTree
-createVisiblePositionDeprecated(const PositionInFlatTree&,
- TextAffinity = VP_DEFAULT_AFFINITY);
-CORE_EXPORT VisiblePositionInFlatTree
-createVisiblePositionDeprecated(const PositionInFlatTreeWithAffinity&);
-
CORE_EXPORT VisiblePosition
createVisiblePosition(const Position&, TextAffinity = VP_DEFAULT_AFFINITY);
CORE_EXPORT VisiblePosition createVisiblePosition(const PositionWithAffinity&);
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameCaret.cpp ('k') | third_party/WebKit/Source/core/editing/VisiblePosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698