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

Unified Diff: Source/bindings/v8/ScriptPromiseResolver.cpp

Issue 238723009: Implement V8ValueTraits<T>::toV8Value conversion functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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/bindings/v8/ScriptPromiseResolver.h ('k') | Source/bindings/v8/ScriptPromiseResolverWithContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptPromiseResolver.cpp
diff --git a/Source/bindings/v8/ScriptPromiseResolver.cpp b/Source/bindings/v8/ScriptPromiseResolver.cpp
index 7e175b31f0e505207efd0407365eeff78ac51f3f..7bbaee50cc819e3766b3d2817025480f812dd5c1 100644
--- a/Source/bindings/v8/ScriptPromiseResolver.cpp
+++ b/Source/bindings/v8/ScriptPromiseResolver.cpp
@@ -128,16 +128,4 @@ void ScriptPromiseResolver::reject(v8::Handle<v8::Value> value)
m_resolver.clear();
}
-void ScriptPromiseResolver::resolve(ScriptValue value)
-{
- ASSERT(m_isolate->InContext());
- resolve(value.v8Value());
-}
-
-void ScriptPromiseResolver::reject(ScriptValue value)
-{
- ASSERT(m_isolate->InContext());
- reject(value.v8Value());
-}
-
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/ScriptPromiseResolver.h ('k') | Source/bindings/v8/ScriptPromiseResolverWithContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698