Commit 24814616 authored by jochen@chromium.org's avatar jochen@chromium.org

Deprecate old versions of Isolate::SetData and GetData

BUG=none
R=svenpanne@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/83363003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18021 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent aa3518a0
......@@ -4054,11 +4054,9 @@ class V8_EXPORT Isolate {
*/
void Dispose();
/**
* Associate embedder-specific data with the isolate. This legacy method
* puts the data in the 0th slot. It will be deprecated soon.
*/
V8_INLINE void SetData(void* data);
V8_DEPRECATED("Use SetData(0, data) instead.",
V8_INLINE void SetData(void* data));
V8_DEPRECATED("Use GetData(0) instead.", V8_INLINE void* GetData());
/**
* Associate embedder-specific data with the isolate. |slot| has to be
......@@ -4066,13 +4064,6 @@ class V8_EXPORT Isolate {
*/
V8_INLINE void SetData(uint32_t slot, void* data);
/**
* Retrieve embedder-specific data from the isolate. This legacy method
* retrieves the data from slot 0. It will be deprecated soon.
* Returns NULL if SetData has never been called.
*/
V8_INLINE void* GetData();
/**
* Retrieve embedder-specific data from the isolate.
* Returns NULL if SetData has never been called for the given |slot|.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment