summaryrefslogtreecommitdiffstats
path: root/webkit/pending
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 16:46:44 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 16:46:44 +0000
commit748f1130a5fc046b5042390dd08b27df4b64c0cc (patch)
tree3ad8a04c0ae95e6dd1b32fba5cc4dff5dada30a8 /webkit/pending
parent877334cf05fb04080e3c7a35a35ab14211601228 (diff)
downloadchromium_src-748f1130a5fc046b5042390dd08b27df4b64c0cc.zip
chromium_src-748f1130a5fc046b5042390dd08b27df4b64c0cc.tar.gz
chromium_src-748f1130a5fc046b5042390dd08b27df4b64c0cc.tar.bz2
Wrap last change in USE_GOOGLE_URL_LIBRARY
Review URL: http://codereview.chromium.org/6241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/pending')
-rw-r--r--webkit/pending/KURL.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/pending/KURL.h b/webkit/pending/KURL.h
index eabbb5a..b270a15 100644
--- a/webkit/pending/KURL.h
+++ b/webkit/pending/KURL.h
@@ -209,7 +209,11 @@ public:
operator NSURL*() const;
#endif
#ifdef __OBJC__
+#ifdef USE_GOOGLE_URL_LIBRARY
operator NSString*() const { return string(); }
+#else // USE_GOOGLE_URL_LIBRARY
+ operator NSString*() const { return m_string; }
+#endif // USE_GOOGLE_URL_LIBRARY
#endif
#if PLATFORM(QT)