summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/UString.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/UString.h')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/UString.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/UString.h b/src/3rdparty/webkit/JavaScriptCore/runtime/UString.h
index 6852d91..d01b75d 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/UString.h
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/UString.h
@@ -107,6 +107,7 @@ namespace JSC {
// Uses SharedUChar to have joint ownership over the UChar*.
static PassRefPtr<Rep> create(UChar*, int, PassRefPtr<SharedUChar>);
+ SharedUChar* sharedBuffer();
void destroy();
bool baseIsSelf() const { return m_identifierTableAndFlags.isFlagSet(BaseStringFlag); }
@@ -192,7 +193,6 @@ namespace JSC {
struct BaseString : public Rep {
bool isShared() { return rc != 1 || isBufferReadOnly(); }
void setSharedBuffer(PassRefPtr<SharedUChar>);
- SharedUChar* sharedBuffer();
bool isBufferReadOnly()
{
@@ -224,6 +224,7 @@ namespace JSC {
checkConsistency();
}
+ SharedUChar* sharedBuffer();
bool slowIsBufferReadOnly();
friend struct Rep;