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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes 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/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..ec1fbfe1f83df9d2ecd3b78e9a20115a6a9729c7 100644
--- a/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/EditingMarkerListTest.cpp
@@ -4,6 +4,7 @@
#include "core/editing/markers/EditingMarkerList.h"
+#include "core/editing/markers/CompositionMarker.h"
#include "platform/heap/Handle.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -25,8 +26,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 new CompositionMarker(startOffset, endOffset, Color::black, false,
+ Color::black);
}
Persistent<EditingMarkerListForTesting> m_markerList;

Powered by Google App Engine
This is Rietveld 408576698