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

Side by Side Diff: webkit/port/bindings/v8/extensions/GCController.cpp

Issue 18817: Add newlines to the end of files so that linux can compile (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "GCController.h" 5 #include "GCController.h"
6 6
7 namespace WebCore { 7 namespace WebCore {
8 8
9 const char* kGCExtensionName = "v8/GCController"; 9 const char* kGCExtensionName = "v8/GCController";
10 10
11 v8::Extension* GCExtension::Get() { 11 v8::Extension* GCExtension::Get() {
12 v8::Extension* extension = new v8::Extension( 12 v8::Extension* extension = new v8::Extension(
13 kGCExtensionName, 13 kGCExtensionName,
14 "(function () {" 14 "(function () {"
15 " var v8_gc;" 15 " var v8_gc;"
16 " if (gc) v8_gc = gc;" 16 " if (gc) v8_gc = gc;"
17 " GCController = new Object();" 17 " GCController = new Object();"
18 " GCController.collect =" 18 " GCController.collect ="
19 " function() {if (v8_gc) v8_gc(); };" 19 " function() {if (v8_gc) v8_gc(); };"
20 " })()"); 20 " })()");
21 return extension; 21 return extension;
22 } 22 }
23 23
24 } 24 }
25
OLDNEW
« no previous file with comments | « webkit/port/bindings/v8/extensions/GCController.h ('k') | webkit/port/bindings/v8/extensions/Interval.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698