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

Unified Diff: Source/web/WebBlob.cpp

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 | « no previous file | public/web/WebBlob.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebBlob.cpp
diff --git a/Source/web/WebBlob.cpp b/Source/web/WebBlob.cpp
index bea9c315fd9e6f8870afde697786711eb7616ba7..32862ef547da2adb84271282bf542d4acd1b58d4 100644
--- a/Source/web/WebBlob.cpp
+++ b/Source/web/WebBlob.cpp
@@ -83,11 +83,16 @@ WebString WebBlob::uuid()
return m_private->uuid();
}
-v8::Handle<v8::Value> WebBlob::toV8Value()
+v8::Handle<v8::Value> WebBlob::toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
if (!m_private.get())
return v8::Handle<v8::Value>();
- return toV8(m_private.get(), v8::Handle<v8::Object>(), v8::Isolate::GetCurrent());
+ return toV8(m_private.get(), creationContext, isolate);
+}
+
+v8::Handle<v8::Value> WebBlob::toV8Value()
+{
+ return toV8Value(v8::Handle<v8::Object>(), v8::Isolate::GetCurrent());
}
WebBlob::WebBlob(const PassRefPtrWillBeRawPtr<WebCore::Blob>& blob)
« no previous file with comments | « no previous file | public/web/WebBlob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698