From 54620e2e6cd8e5701e165a381b0f2f90f2d15aa5 Mon Sep 17 00:00:00 2001 From: "brettw@gmail.com" Date: Thu, 25 Feb 2010 18:20:00 +0000 Subject: [PATCH] actually define the function I added in the previous change for backwards API compat. git-svn-id: http://google-url.googlecode.com/svn/trunk@125 8873c55e-713a-0410-88f8-23d9c3d90b1b --- src/url_util.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/url_util.h b/src/url_util.h index d4724cb..1c29c55 100644 --- a/src/url_util.h +++ b/src/url_util.h @@ -76,8 +76,10 @@ 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); +inline bool IsStandard(const char* spec, int spec_len, + const url_parse::Component& scheme) { + return IsStandard(spec, scheme); +} // URL library wrappers ------------------------------------------------------- -- 2.11.4.GIT