Chromium Code Reviews| Index: Source/bindings/v8/BlinkInJSController.js |
| diff --git a/Source/core/css/Pair.cpp b/Source/bindings/v8/BlinkInJSController.js |
| similarity index 50% |
| copy from Source/core/css/Pair.cpp |
| copy to Source/bindings/v8/BlinkInJSController.js |
| index 5362b6b52747f321f8c880c5518db518edd0230f..706a0c28ce0348bc31c6e4657cd10063e67a209c 100644 |
| --- a/Source/core/css/Pair.cpp |
| +++ b/Source/bindings/v8/BlinkInJSController.js |
| @@ -2,15 +2,12 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
|
abarth-chromium
2014/06/20 15:17:43
PrivateScriptController.js ?
haraken
2014/06/23 01:32:55
Renamed all "BlinkInJS" to "PrivateScript".
|
| -#include "config.h" |
| -#include "core/css/Pair.h" |
| +"use strict"; |
| -namespace WebCore { |
| +var installedClasses = {}; |
| -void Pair::trace(Visitor* visitor) |
| -{ |
| - visitor->trace(m_first); |
| - visitor->trace(m_second); |
| +function installClass(className, implementation) { |
| + installedClasses[className] = implementation(); |
| } |
| -} |
| +(installedClasses); |
|
arv (Not doing code reviews)
2014/06/20 15:06:22
useless parens...
This could use a comment that y
haraken
2014/06/23 01:32:55
Done.
|