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

Unified Diff: Source/core/testing/Internals.h

Issue 22470008: Implement ScriptPromise and ScriptFunction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Protect the ScriptFunction with a strong ref Created 7 years, 4 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
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index ba2f2285825bb16650ec76c7f6b1da4ff158eaca..058d8f37a47f677dbb9e133e4a158e5b2537228a 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -296,6 +296,8 @@ public:
bool loseSharedGraphicsContext3D();
+ ScriptValue addOneToPromise(ScriptValue promise);
+
private:
explicit Internals(Document*);
Document* contextDocument() const;

Powered by Google App Engine
This is Rietveld 408576698