Index: public/platform/WebString.h |
diff --git a/public/platform/WebString.h b/public/platform/WebString.h |
index c336dd113dcd61aefae52a9808b6c57275f3b9df..b8bc939db832b32cb9635e47f1f686331144002f 100644 |
--- a/public/platform/WebString.h |
+++ b/public/platform/WebString.h |
@@ -78,6 +78,9 @@ public: |
WEBKIT_EXPORT size_t length() const; |
WEBKIT_EXPORT const WebUChar* data() const; |
+ // Caller must check bounds. |
+ WEBKIT_EXPORT WebUChar at(unsigned) const; |
+ |
bool isEmpty() const { return !length(); } |
bool isNull() const { return !m_private; } |
@@ -159,6 +162,7 @@ public: |
private: |
void assign(WebStringPrivate*); |
+ |
WebStringPrivate* m_private; |
}; |