Cleanup GPU lifetime event histograms.
[chromium-blink-merge.git] / third_party / re2 / patches / remove-posix-option.patch
blobba5517247a1c1a1ffb0bae32b5939354f2585029
1 diff -r 2d252384c5e8 re2/re2.cc
2 --- a/re2/re2.cc Mon Mar 05 14:20:36 2012 -0500
3 +++ b/re2/re2.cc Wed Jun 20 20:32:24 2012 +0200
4 @@ -40,7 +40,7 @@
5 // log errors
6 const RE2::Options RE2::DefaultOptions; // EncodingUTF8, false, false, true
7 const RE2::Options RE2::Latin1(RE2::Options::EncodingLatin1, false, false, true);
8 -const RE2::Options RE2::POSIX(RE2::Options::EncodingUTF8, true, true, true);
9 +//const RE2::Options RE2::POSIX(RE2::Options::EncodingUTF8, true, true, true);
10 const RE2::Options RE2::Quiet(RE2::Options::EncodingUTF8, false, false, false);
12 // If a regular expression has no error, its error_ field points here
13 diff -r 2d252384c5e8 re2/re2.h
14 --- a/re2/re2.h Mon Mar 05 14:20:36 2012 -0500
15 +++ b/re2/re2.h Wed Jun 20 20:32:24 2012 +0200
16 @@ -233,7 +233,7 @@
17 // RE2 constructor.
18 static const Options DefaultOptions;
19 static const Options Latin1; // treat input as Latin-1 (default UTF-8)
20 - static const Options POSIX; // POSIX syntax, leftmost-longest match
21 + //static const Options POSIX; // POSIX syntax, leftmost-longest match
22 static const Options Quiet; // do not log about regexp parse errors
24 // Need to have the const char* and const string& forms for implicit