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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp

Issue 2766003002: Add DocumentMarker::createCompositionMarker() (Closed)
Patch Set: Rebase Created 3 years, 9 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/markers/DocumentMarkerListTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp
index a55a147e1bd9de80685b98c7fd94546b0bfef760..ebb9aa46e9ec92c968d9c58967f7bf1b1760df76 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp
@@ -40,8 +40,8 @@ class DocumentMarkerListTest : public ::testing::Test {
m_sortedMarkerList(new SortedDocumentMarkerListForTesting()) {}
DocumentMarker* createMarker(unsigned startOffset, unsigned endOffset) {
- return new DocumentMarker(startOffset, endOffset, Color::black, false,
- Color::black);
+ return DocumentMarker::createCompositionMarker(
+ startOffset, endOffset, Color::black, false, Color::black);
}
Persistent<DocumentMarkerListForTesting> m_markerList;

Powered by Google App Engine
This is Rietveld 408576698