Index: third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp b/third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp |
index 4072b65c2877cfdacc5a5a935c0d3f5a2c411ae5..d39e36d95338bb5359bbaaf7e3e9d7400233f524 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp |
@@ -5,7 +5,6 @@ |
#include "modules/payments/PaymentsValidators.h" |
#include "bindings/core/v8/ScriptRegexp.h" |
-#include "wtf/text/StringImpl.h" |
please use gerrit instead
2016/04/12 20:42:31
Let's not alter includes in this patch. This patch
|
namespace blink { |
@@ -59,7 +58,7 @@ bool PaymentsValidators::isValidScriptCodeFormat(const String& code, String* opt |
return true; |
if (optionalErrorMessage) |
- *optionalErrorMessage = "'" + code + "' is not a valid ISO 1524 script code, should be an upper case letter [A-Z] followed by 3 lower case letters [a-z]"; |
+ *optionalErrorMessage = "'" + code + "' is not a valid ISO 15924 script code, should be an upper case letter [A-Z] followed by 3 lower case letters [a-z]"; |
return false; |
} |