Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: public/web/WebArrayBufferConverter.h

Issue 302973003: Removed v8::Isolate::GetCurrent() and fixed toV8 with empty context. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebArrayBufferConverter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebArrayBufferConverter.h
diff --git a/public/web/WebArrayBufferConverter.h b/public/web/WebArrayBufferConverter.h
index 1c5bde03179cb27f90b37bd11e78698ce884d74b..032874f3dbd9bae0efea2397cd5a303c563fcdab 100644
--- a/public/web/WebArrayBufferConverter.h
+++ b/public/web/WebArrayBufferConverter.h
@@ -34,6 +34,8 @@
#include "public/platform/WebArrayBuffer.h"
namespace v8 {
+class Isolate;
+class Object;
class Value;
template <class T> class Handle;
}
@@ -44,6 +46,8 @@ class WebArrayBufferConverter {
public:
BLINK_EXPORT static v8::Handle<v8::Value> toV8Value(WebArrayBuffer*);
BLINK_EXPORT static WebArrayBuffer* createFromV8Value(v8::Handle<v8::Value>);
haraken 2014/05/29 10:38:19 Shall we add a FIXME to remove these APIs once the
jochen (gone - plz use gerrit) 2014/06/02 07:33:59 yes, please
tasak 2014/06/02 10:36:44 Done.
+ BLINK_EXPORT static v8::Handle<v8::Value> toV8Value(WebArrayBuffer*, v8::Handle<v8::Object>, v8::Isolate*);
+ BLINK_EXPORT static WebArrayBuffer* createFromV8Value(v8::Handle<v8::Value>, v8::Isolate*);
};
} // namespace blink
« no previous file with comments | « Source/web/WebArrayBufferConverter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698