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

Unified Diff: public/web/WebBlob.h

Issue 313263002: Add toV8Value which takes creation context and isolate to WebBlob as arguments. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/WebBlob.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebBlob.h
diff --git a/public/web/WebBlob.h b/public/web/WebBlob.h
index 35db09cf488dbb35a425b950aff5d7e5597ab7ac..8a7e30426d51a7d2cf95498dec131a05f15a30eb 100644
--- a/public/web/WebBlob.h
+++ b/public/web/WebBlob.h
@@ -42,6 +42,8 @@
#endif
namespace v8 {
+class Isolate;
+class Object;
class Value;
template <class T> class Handle;
}
@@ -72,6 +74,8 @@ public:
bool isNull() const { return m_private.isNull(); }
+ BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate*);
+ // FIXME: remove the following toV8Value after fixing chromium code.
BLINK_EXPORT v8::Handle<v8::Value> toV8Value();
#if BLINK_IMPLEMENTATION
« no previous file with comments | « Source/web/WebBlob.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698