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

Unified Diff: Source/bindings/v8/ScriptPromise.h

Issue 326853002: Revert of Add an ASSERT about cross-world wrapper leakage into ScriptValue (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/bindings/v8/ScriptPreprocessor.cpp ('k') | Source/bindings/v8/ScriptPromise.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptPromise.h
diff --git a/Source/bindings/v8/ScriptPromise.h b/Source/bindings/v8/ScriptPromise.h
index eb79e4e3b179192b052ccb3d101c3fdde54de908..23bfa9ba2e3eb3beb72e6329987a5fb651a2fcd3 100644
--- a/Source/bindings/v8/ScriptPromise.h
+++ b/Source/bindings/v8/ScriptPromise.h
@@ -97,10 +97,10 @@
// if |value| is not a Promise object, returns a Promise object
// resolved with |value|.
// Returns |value| itself if it is a Promise.
- static ScriptPromise cast(ScriptState*, const ScriptValue& /*value*/);
+ static ScriptPromise cast(const ScriptValue& /*value*/);
static ScriptPromise cast(ScriptState*, v8::Handle<v8::Value> /*value*/);
- static ScriptPromise reject(ScriptState*, const ScriptValue&);
+ static ScriptPromise reject(const ScriptValue&);
static ScriptPromise reject(ScriptState*, v8::Handle<v8::Value>);
static ScriptPromise rejectWithDOMException(ScriptState*, PassRefPtrWillBeRawPtr<DOMException>);
« no previous file with comments | « Source/bindings/v8/ScriptPreprocessor.cpp ('k') | Source/bindings/v8/ScriptPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698