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

Unified Diff: Source/core/editing/PositionWithAffinity.h

Issue 1203613003: Make inSameLine() in VisibleUnits.cpp to work with positions in composed tree (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-06-24T16:57:02 Add EditingTestBase::updateLayoutAndStyleForPainting() Created 5 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/editing/PositionWithAffinity.h
diff --git a/Source/core/editing/PositionWithAffinity.h b/Source/core/editing/PositionWithAffinity.h
index 97e5de4d9705e16c18cd33134d64a0b022ee26cf..26a928221ce3ca9c24f9bff21e6979220d5113ab 100644
--- a/Source/core/editing/PositionWithAffinity.h
+++ b/Source/core/editing/PositionWithAffinity.h
@@ -43,8 +43,10 @@ private:
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT PositionWithAffinityTemplate<Position>;
+extern template class CORE_EXTERN_TEMPLATE_EXPORT PositionWithAffinityTemplate<PositionInComposedTree>;
using PositionWithAffinity = PositionWithAffinityTemplate<Position>;
+using PositionInComposedTreeWithAffinity = PositionWithAffinityTemplate<PositionInComposedTree>;
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698