From ee5caceb51c7c9c20d5e874e838a449b459eb413 Mon Sep 17 00:00:00 2001 From: "brettw@gmail.com" Date: Wed, 24 Feb 2010 23:21:32 +0000 Subject: [PATCH] Add a backwards-compat workaround to make landing the previous change in Chrome and WebKit easier. git-svn-id: http://google-url.googlecode.com/svn/trunk@124 8873c55e-713a-0410-88f8-23d9c3d90b1b --- src/url_util.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/url_util.h b/src/url_util.h index b2cf459..d4724cb 100644 --- a/src/url_util.h +++ b/src/url_util.h @@ -74,6 +74,11 @@ inline bool FindAndCompareScheme(const string16& str, bool IsStandard(const char* spec, const url_parse::Component& scheme); bool IsStandard(const char16* spec, const url_parse::Component& scheme); +// TODO(brettw) remove this. This is a temporary compatibility hack to avoid +// breaking the WebKit build when this version is synced via Chrome. +bool IsStandard(const char* spec, int spec_len, + const url_parse::Component& scheme); + // URL library wrappers ------------------------------------------------------- // Parses the given spec according to the extracted scheme type. Normal users -- 2.11.4.GIT