Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 634bd57f0045030d7d02dcd5f5ca9065a1297527..8c49fca693a7b5cbf3941506259ce80dce844b03 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1054,7 +1054,7 @@ bool WebLocalFrameImpl::ExecuteCommand(const WebString& name) { |
String command = name; |
// Make sure the first letter is upper case. |
- command.Replace(0, 1, command.Substring(0, 1).DeprecatedUpper()); |
+ command.Replace(0, 1, command.Substring(0, 1).UpperASCII()); |
// Remove the trailing ':' if existing. |
if (command[command.length() - 1] == UChar(':')) |