actually define the function I added in the previous change for backwards API compat.master
author[email protected] <[email protected]@8873c55e-713a-0410-88f8-23d9c3d90b1b>
Thu, 25 Feb 2010 18:20:00 +0000 (25 18:20 +0000)
committer[email protected] <[email protected]@8873c55e-713a-0410-88f8-23d9c3d90b1b>
Thu, 25 Feb 2010 18:20:00 +0000 (25 18:20 +0000)
git-svn-id: http://google-url.googlecode.com/svn/trunk@125 8873c55e-713a-0410-88f8-23d9c3d90b1b

src/url_util.h

index d4724cb..1c29c55 100644 (file)
@@ -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 -------------------------------------------------------