Fix a typo in r178313
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jan 2015 03:26:09 +0000 (03:26 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jan 2015 03:26:09 +0000 (03:26 +0000)
* contentextensions/URLFilterParser.cpp:
(WebCore::ContentExtensions::GraphBuilder::atomPatternCharacter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178314 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/contentextensions/URLFilterParser.cpp

index 1b85ad1..0eb4a73 100644 (file)
@@ -1,5 +1,12 @@
 2015-01-12  Benjamin Poulain  <benjamin@webkit.org>
 
+        Fix a typo in r178313
+
+        * contentextensions/URLFilterParser.cpp:
+        (WebCore::ContentExtensions::GraphBuilder::atomPatternCharacter):
+
+2015-01-12  Benjamin Poulain  <benjamin@webkit.org>
+
         Add basic pattern matching support to the url filters
         https://bugs.webkit.org/show_bug.cgi?id=140283
 
index a3ad606..38841be 100644 (file)
@@ -67,7 +67,7 @@ public:
 
     void atomPatternCharacter(UChar character)
     {
-        if (isASCII(character)) {
+        if (!isASCII(character)) {
             fail(ASCIILiteral("Only ASCII characters are supported in pattern."));
             return;
         }