Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 9327) |
+++ src/objects.h (working copy) |
@@ -6458,8 +6458,8 @@ |
typedef v8::String::ExternalAsciiStringResource Resource; |
// The underlying resource. |
- inline Resource* resource(); |
- inline void set_resource(Resource* buffer); |
+ inline const Resource* resource(); |
+ inline void set_resource(const Resource* buffer); |
// Dispatched behavior. |
uint16_t ExternalAsciiStringGet(int index); |
@@ -6495,8 +6495,8 @@ |
typedef v8::String::ExternalStringResource Resource; |
// The underlying string resource. |
- inline Resource* resource(); |
- inline void set_resource(Resource* buffer); |
+ inline const Resource* resource(); |
+ inline void set_resource(const Resource* buffer); |
// Dispatched behavior. |
uint16_t ExternalTwoByteStringGet(int index); |