| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All r
ights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 inline bool operator!=(const String& a, const KURL& b) | 263 inline bool operator!=(const String& a, const KURL& b) |
| 264 { | 264 { |
| 265 return a != b.string(); | 265 return a != b.string(); |
| 266 } | 266 } |
| 267 | 267 |
| 268 } // namespace blink | 268 } // namespace blink |
| 269 | 269 |
| 270 namespace WTF { | 270 namespace WTF { |
| 271 | 271 |
| 272 // KURLHash is the default hash for String | 272 // KURLHash is the default hash for String |
| 273 template<typename T> struct DefaultHash; | |
| 274 template<> struct DefaultHash<blink::KURL> { | 273 template<> struct DefaultHash<blink::KURL> { |
| 275 typedef blink::KURLHash Hash; | 274 typedef blink::KURLHash Hash; |
| 276 }; | 275 }; |
| 277 | 276 |
| 278 } // namespace WTF | 277 } // namespace WTF |
| 279 | 278 |
| 280 #endif // KURL_h | 279 #endif // KURL_h |
| OLD | NEW |