diff options
Diffstat (limited to 'webkit/api/public/WebString.h')
-rw-r--r-- | webkit/api/public/WebString.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/api/public/WebString.h b/webkit/api/public/WebString.h index b0f8e49..8eee441 100644 --- a/webkit/api/public/WebString.h +++ b/webkit/api/public/WebString.h @@ -1,10 +1,10 @@ /* * Copyright (C) 2009 Google Inc. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: - * + * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above @@ -14,7 +14,7 @@ * * Neither the name of Google Inc. nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -34,7 +34,7 @@ #include "WebCommon.h" #if WEBKIT_IMPLEMENTATION -namespace WebCore { class String; } +namespace WebCore { class String; class AtomicString; } #else #include <base/string16.h> #endif @@ -84,6 +84,9 @@ namespace WebKit { WebString(const WebCore::String&); WebString& operator=(const WebCore::String&); operator WebCore::String() const; + WebString(const WebCore::AtomicString&); + WebString& operator=(const WebCore::AtomicString&); + operator WebCore::AtomicString() const; #else WebString(const string16& s) : m_private(0) { |