summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 18:44:12 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 18:44:12 +0000
commitd603cd3c0923238c5f8fbd755a04df7e3923a2f4 (patch)
treedc4d3b4c61e185de0a791ad3c6ca497125d59c5f /chrome
parentb2f7ac4583b968d0c20ea8f6c4110aeb6882699a (diff)
downloadchromium_src-d603cd3c0923238c5f8fbd755a04df7e3923a2f4.zip
chromium_src-d603cd3c0923238c5f8fbd755a04df7e3923a2f4.tar.gz
chromium_src-d603cd3c0923238c5f8fbd755a04df7e3923a2f4.tar.bz2
Make clang build work again.
TBR=evan@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/extensions/url_pattern.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h
index c0f17af..65f6c42 100644
--- a/chrome/common/extensions/url_pattern.h
+++ b/chrome/common/extensions/url_pattern.h
@@ -203,10 +203,19 @@ class URLPattern {
private:
friend class std::vector<URLPattern>;
+// Due to a bug in clang, we must make this constructor public.
+#if defined(__clang__)
+ public:
+#endif
+
// Note: don't use this directly. This exists so URLPattern can be used
// with STL containers.
URLPattern();
+#if defined(__clang__)
+ private:
+#endif
+
// A bitmask containing the schemes which are considered valid for this
// pattern. Parse() uses this to decide whether a pattern contains a valid
// scheme. MatchesScheme uses this to decide whether a wildcard scheme_