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

Unified Diff: Source/bindings/core/v8/PrivateScriptRunner.js

Issue 394773003: Implement HTMLMarqueeElement's animation in private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/bindings/core/v8/PrivateScriptRunner.js
diff --git a/Source/bindings/core/v8/PrivateScriptRunner.js b/Source/bindings/core/v8/PrivateScriptRunner.js
index f2be7d43f6e3a61be32d04e70f3e97e51a8b9e0d..bf092197a69fa254fcbfacd47bd01939061b1bf3 100644
--- a/Source/bindings/core/v8/PrivateScriptRunner.js
+++ b/Source/bindings/core/v8/PrivateScriptRunner.js
@@ -81,9 +81,14 @@ function DOMExceptionInPrivateScript(code, message)
this.type = "DOMExceptionInPrivateScript";
}
+function privateScriptClass()
+{
+}
+
function installClass(className, implementation)
{
- installedClasses[className] = implementation(window);
+ installedClasses[className] = new privateScriptClass();
+ implementation(window, installedClasses[className]);
}
init();

Powered by Google App Engine
This is Rietveld 408576698