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 { ...@@ -4054,11 +4054,9 @@ class V8_EXPORT Isolate {
*/ */
void Dispose(); void Dispose();
/** V8_DEPRECATED("Use SetData(0, data) instead.",
* Associate embedder-specific data with the isolate. This legacy method V8_INLINE void SetData(void* data));
* puts the data in the 0th slot. It will be deprecated soon. V8_DEPRECATED("Use GetData(0) instead.", V8_INLINE void* GetData());
*/
V8_INLINE void SetData(void* data);
/** /**
* Associate embedder-specific data with the isolate. |slot| has to be * Associate embedder-specific data with the isolate. |slot| has to be
...@@ -4066,13 +4064,6 @@ class V8_EXPORT Isolate { ...@@ -4066,13 +4064,6 @@ class V8_EXPORT Isolate {
*/ */
V8_INLINE void SetData(uint32_t slot, void* data); 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. * Retrieve embedder-specific data from the isolate.
* Returns NULL if SetData has never been called for the given |slot|. * 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