Changeset 147766 in webkit
- Timestamp:
- Apr 5, 2013 11:18:49 AM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147765 r147766 1 2013-04-05 Zan Dobersek <zdobersek@igalia.com> 2 3 Remove WTF_USE_GOOGLEURL-guarded code 4 https://bugs.webkit.org/show_bug.cgi?id=114028 5 6 Reviewed by Ryosuke Niwa. 7 8 The only remaining usage of the USE(GOOGLEURL) guards is in LinkHashChromium.cpp that will 9 get removed when purging the Source/WebCore/platform/chromium directory. 10 11 * config.h: Remove the define that was Chromium-specific. 12 * platform/KURL.cpp: 13 (WebCore): 14 (WebCore::KURL::reportMemoryUsage): 15 (WebCore::KURL::isSafeToSendToAnotherThread): 16 * platform/KURL.h: 17 (KURL): 18 * platform/KURLGoogle.cpp: Removed. 19 * platform/KURLGooglePrivate.h: Removed. 20 1 21 2013-04-05 Bem Jones-Bey <bjonesbe@adobe.com> 2 22 -
trunk/Source/WebCore/config.h
r144760 r147766 128 128 #define WTF_CHANGES 1 129 129 130 #define WTF_USE_GOOGLEURL 1131 132 130 #endif /* PLATFORM(CHROMIUM) */ 133 131 -
trunk/Source/WebCore/platform/KURL.cpp
r147715 r147766 65 65 return (character | 0x20) == lowercaseLetter; 66 66 } 67 68 #if !USE(GOOGLEURL)69 67 70 68 static const char wsScheme[] = {'w', 's'}; … … 1717 1715 #endif 1718 1716 1719 #endif // !USE(GOOGLEURL)1720 1721 1717 String KURL::strippedForUseAsReferrer() const 1722 1718 { … … 1904 1900 { 1905 1901 MemoryClassInfo info(memoryObjectInfo, this); 1906 #if USE(GOOGLEURL)1907 info.addMember(m_url, "url");1908 #else // !USE(GOOGLEURL)1909 1902 info.addMember(m_string, "string"); 1910 #endif1911 1903 } 1912 1904 1913 1905 bool KURL::isSafeToSendToAnotherThread() const 1914 1906 { 1915 #if USE(GOOGLEURL)1916 return m_url.isSafeToSendToAnotherThread();1917 #else // !USE(GOOGLEURL)1918 1907 return m_string.isSafeToSendToAnotherThread(); 1919 #endif1920 1908 } 1921 1909 -
trunk/Source/WebCore/platform/KURL.h
r147715 r147766 45 45 #endif 46 46 47 #if USE(GOOGLEURL)48 #include "KURLGooglePrivate.h"49 #endif50 51 47 namespace WebCore { 52 48 … … 65 61 // It is usually best to avoid repeatedly parsing a string, unless memory saving outweigh the possible slow-downs. 66 62 KURL(ParsedURLStringTag, const String&); 67 #if USE(GOOGLEURL)68 explicit KURL(WTF::HashTableDeletedValueType) : m_url(WTF::HashTableDeletedValue) { }69 #else70 63 explicit KURL(WTF::HashTableDeletedValueType) : m_string(WTF::HashTableDeletedValue) { } 71 #endif72 64 bool isHashTableDeletedValue() const { return string().isHashTableDeletedValue(); } 73 65 … … 82 74 KURL(const KURL& base, const String& relative, const TextEncoding&); 83 75 84 #if USE(GOOGLEURL)85 // For conversions from other structures that have already parsed and86 // canonicalized the URL. The input must be exactly what KURL would have87 // done with the same input.88 KURL(const CString& canonicalSpec, const url_parse::Parsed&, bool isValid);89 #endif90 91 76 String strippedForUseAsReferrer() const; 92 77 … … 116 101 bool isHierarchical() const; 117 102 118 #if USE(GOOGLEURL)119 const String& string() const { return m_url.string(); }120 #else121 103 const String& string() const { return m_string; } 122 #endif123 104 124 105 String elidedString() const; … … 203 184 #endif 204 185 205 #if USE(GOOGLEURL)206 // Getters for the parsed structure and its corresponding 8-bit string.207 const url_parse::Parsed& parsed() const { return m_url.m_parsed; }208 const CString& utf8String() const { return m_url.utf8String(); }209 #endif210 211 212 #if USE(GOOGLEURL)213 const KURL* innerURL() const { return m_url.innerURL(); }214 #else215 186 const KURL* innerURL() const { return 0; } 216 #endif217 187 218 188 #ifndef NDEBUG … … 226 196 void invalidate(); 227 197 static bool protocolIs(const String&, const char*); 228 #if USE(GOOGLEURL)229 friend class KURLGooglePrivate;230 KURLGooglePrivate m_url;231 #else // !USE(GOOGLEURL)232 198 void init(const KURL&, const String&, const TextEncoding&); 233 199 void copyToBuffer(Vector<char, 512>& buffer) const; … … 253 219 int m_queryEnd; 254 220 int m_fragmentEnd; 255 #endif256 221 }; 257 222 … … 324 289 } 325 290 326 #if !USE(GOOGLEURL)327 328 291 // Inline versions of some non-GoogleURL functions so we can get inlining 329 292 // without having to have a lot of ugly ifdefs in the class definition. … … 383 346 return m_pathAfterLastSlash; 384 347 } 385 386 #endif // !USE(GOOGLEURL)387 348 388 349 } // namespace WebCore -
trunk/Source/WebKit/blackberry/ChangeLog
r147747 r147766 1 2013-04-05 Zan Dobersek <zdobersek@igalia.com> 2 3 Remove WTF_USE_GOOGLEURL-guarded code 4 https://bugs.webkit.org/show_bug.cgi?id=114028 5 6 Reviewed by Ryosuke Niwa. 7 8 * WebCoreSupport/AboutDataUseFeatures.in: Remove GOOGLEURL from the list. 9 1 10 2013-04-04 Jacky Jiang <zhajiang@rim.com> 2 11 -
trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataUseFeatures.in
r147715 r147766 37 37 GLIB_UNICODE 38 38 GLX 39 GOOGLEURL40 39 GRAMMAR_CHECKING 41 40 GRAPHICS_SURFACE
Note: See TracChangeset
for help on using the changeset viewer.