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

Unified Diff: third_party/WebKit/Source/core/editing/EditorTest.cpp

Issue 2812643002: Fix names of local constants after blink rename. (Closed)
Patch Set: Created 3 years, 8 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/EditorTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditorTest.cpp b/third_party/WebKit/Source/core/editing/EditorTest.cpp
index feade33e8f5d453e4e747abdd16e7e7241781816..3cb844cd5d28447be130823c4b920a8083cec4aa 100644
--- a/third_party/WebKit/Source/core/editing/EditorTest.cpp
+++ b/third_party/WebKit/Source/core/editing/EditorTest.cpp
@@ -70,10 +70,10 @@ TEST_F(EditorTest, copyGeneratedPassword) {
HTMLInputElement& element =
toHTMLInputElement(*GetDocument().GetElementById("password"));
- const String k_password_value = "secret";
+ const String kPasswordValue = "secret";
element.focus();
- element.setValue(k_password_value);
- element.SetSelectionRange(0, k_password_value.length());
+ element.setValue(kPasswordValue);
+ element.SetSelectionRange(0, kPasswordValue.length());
Editor& editor = GetDocument().GetFrame()->GetEditor();
EXPECT_FALSE(editor.CanCopy());

Powered by Google App Engine
This is Rietveld 408576698