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

Unified Diff: third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.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
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp b/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
index 3f818fc9a642cee6806caa6c3149bf22e796ac3b..c0dda328978e813e30e48713424e44595890125c 100644
--- a/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
@@ -25,8 +25,8 @@ class EditingMarkerListTest : public ::testing::Test {
EditingMarkerListTest() : m_markerList(new EditingMarkerListForTesting()) {}
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<EditingMarkerListForTesting> m_markerList;
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698