| Index: webkit/extensions/v8/gc_extension.cc
|
| ===================================================================
|
| --- webkit/extensions/v8/gc_extension.cc (revision 0)
|
| +++ webkit/extensions/v8/gc_extension.cc (working copy)
|
| @@ -2,25 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "config.h"
|
| -#include "GCController.h"
|
| +#include "webkit/extensions/v8/gc_extension.h"
|
|
|
| -namespace WebCore {
|
| +namespace extensions_v8 {
|
|
|
| const char* kGCExtensionName = "v8/GCController";
|
|
|
| v8::Extension* GCExtension::Get() {
|
| - v8::Extension* extension = new v8::Extension(
|
| - kGCExtensionName,
|
| - "(function () {"
|
| - " var v8_gc;"
|
| - " if (gc) v8_gc = gc;"
|
| - " GCController = new Object();"
|
| - " GCController.collect ="
|
| - " function() {if (v8_gc) v8_gc(); };"
|
| - " })()");
|
| - return extension;
|
| + v8::Extension* extension = new v8::Extension(
|
| + kGCExtensionName,
|
| + "(function () {"
|
| + " var v8_gc;"
|
| + " if (gc) v8_gc = gc;"
|
| + " GCController = new Object();"
|
| + " GCController.collect ="
|
| + " function() {if (v8_gc) v8_gc(); };"
|
| + " })();");
|
| + return extension;
|
| }
|
|
|
| -}
|
| +} // namespace extensions_v8
|
|
|
|
|
| Property changes on: webkit\extensions\v8\gc_extension.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|