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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move CompositionMarkerList::at() into this CL 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 43d594091c492d42c18bf9ee9883b70a96e4d51e..436c6adb2c42fa18a3d7e1a397ecd5acfdd8deb8 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListTest.cpp
@@ -4,6 +4,7 @@
#include "core/editing/markers/DocumentMarkerList.h"
+#include "core/editing/markers/CompositionMarker.h"
#include "platform/heap/Handle.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -40,8 +41,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 new CompositionMarker(startOffset, endOffset, Color::black, false,
+ Color::black);
}
Persistent<DocumentMarkerListForTesting> m_markerList;

Powered by Google App Engine
This is Rietveld 408576698