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

Unified Diff: third_party/WebKit/Source/core/layout/api/SelectionStateTest.cpp

Issue 2916493002: Make SelectionState enum class (Closed)
Patch Set: Created 3 years, 7 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/layout/api/SelectionStateTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/api/SelectionStateTest.cpp b/third_party/WebKit/Source/core/layout/api/SelectionStateTest.cpp
index c5059c853ba8e5d54942d1d1954940d0963c4388..5ba05fe45a082784013c94efaeb9e1fd4efe96b4 100644
--- a/third_party/WebKit/Source/core/layout/api/SelectionStateTest.cpp
+++ b/third_party/WebKit/Source/core/layout/api/SelectionStateTest.cpp
@@ -13,12 +13,12 @@ TEST(SelectionStateTest, StreamOutput) {
// Just explicitly sanity check a couple of values.
{
std::stringstream string_stream;
- string_stream << SelectionNone;
+ string_stream << SelectionState::kNone;
EXPECT_EQ("None", string_stream.str());
}
{
std::stringstream string_stream;
- string_stream << SelectionBoth;
+ string_stream << SelectionState::kStartAndEnd;
EXPECT_EQ("Both", string_stream.str());
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/api/SelectionState.cpp ('k') | third_party/WebKit/Source/core/layout/line/EllipsisBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698