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

Unified Diff: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (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/commands/EditorCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
index c9c5492f25879037dfeb92ef0442a6b7340f9320..533efbb2a620345d387dc96efa3b20507038bccf 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
@@ -696,10 +696,10 @@ static bool ExecuteDefaultParagraphSeparator(LocalFrame& frame,
Event*,
EditorCommandSource,
const String& value) {
- if (EqualIgnoringCase(value, "div"))
+ if (DeprecatedEqualIgnoringCase(value, "div"))
frame.GetEditor().SetDefaultParagraphSeparator(
kEditorParagraphSeparatorIsDiv);
- else if (EqualIgnoringCase(value, "p"))
+ else if (DeprecatedEqualIgnoringCase(value, "p"))
frame.GetEditor().SetDefaultParagraphSeparator(
kEditorParagraphSeparatorIsP);
@@ -1823,7 +1823,8 @@ static bool ExecuteStyleWithCSS(LocalFrame& frame,
Event*,
EditorCommandSource,
const String& value) {
- frame.GetEditor().SetShouldStyleWithCSS(!EqualIgnoringCase(value, "false"));
+ frame.GetEditor().SetShouldStyleWithCSS(
+ !DeprecatedEqualIgnoringCase(value, "false"));
return true;
}
@@ -1831,7 +1832,8 @@ static bool ExecuteUseCSS(LocalFrame& frame,
Event*,
EditorCommandSource,
const String& value) {
- frame.GetEditor().SetShouldStyleWithCSS(EqualIgnoringCase(value, "false"));
+ frame.GetEditor().SetShouldStyleWithCSS(
+ DeprecatedEqualIgnoringCase(value, "false"));
return true;
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/DOMSelection.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698