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

Unified Diff: Source/core/dom/Position.h

Issue 307353002: Use Position instead of VisiblePosition for SurroundingText. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix crash Created 6 years, 6 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: Source/core/dom/Position.h
diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h
index 07ad7a195a5c13aecc278ab73cd9c8ff7731ebe0..410404357c804bffdf422c3a989b00376c621654 100644
--- a/Source/core/dom/Position.h
+++ b/Source/core/dom/Position.h
@@ -318,6 +318,8 @@ inline bool offsetIsBeforeLastNodeOffset(int offset, Node* anchorNode)
return offset < currentOffset;
}
+PassRefPtrWillBeRawPtr<Range> makeRange(const Position&, const Position&);
Yuta Kitamura 2014/06/06 08:57:30 I'm not sure what's the difference between this fu
mlamouri (slow - plz ping) 2014/06/06 09:23:16 Removed.
+
class PositionWithAffinity {
DISALLOW_ALLOCATION();
public:

Powered by Google App Engine
This is Rietveld 408576698