Revision: 10003
Author:   [email protected]
Date:     Tue Nov 15 15:26:22 2011
Log:      Presubmit failures fixed

[email protected]

Review URL: http://codereview.chromium.org/8571017
http://code.google.com/p/v8/source/detail?r=10003

Modified:
 /branches/bleeding_edge/src/bootstrapper.cc

=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Tue Nov 15 14:48:55 2011
+++ /branches/bleeding_edge/src/bootstrapper.cc Tue Nov 15 15:26:22 2011
@@ -211,13 +211,12 @@
   void InstallBuiltinFunctionIds();
   void InstallJSFunctionResultCaches();
   void InitializeNormalizedMapCaches();
-
+
   enum ExtensionTraversalState {
     UNVISITED, VISITED, INSTALLED
   };

   class ExtensionStates {
-    DISALLOW_COPY_AND_ASSIGN(ExtensionStates);
   public:
     ExtensionStates();
     ExtensionTraversalState get_state(RegisteredExtension* extension);
@@ -226,6 +225,7 @@
   private:
     Allocator allocator_;
     HashMap map_;
+    DISALLOW_COPY_AND_ASSIGN(ExtensionStates);
   };

// Used both for deserialized and from-scratch contexts to add the extensions
@@ -1989,7 +1989,8 @@
// effort. (The external API reads 'ignore'-- does that mean
   //                 we can break the interface?)

-  ExtensionStates extension_states; // All extensions have state UNVISITED.
+
+ ExtensionStates extension_states; // All extensions have state UNVISITED.
   // Install auto extensions.
v8::RegisteredExtension* current = v8::RegisteredExtension::first_extension();
   while (current != NULL) {
@@ -2036,7 +2037,7 @@
 }


-bool Genesis::InstallExtension(v8::RegisteredExtension* current,
+bool Genesis::InstallExtension(v8::RegisteredExtension* current,
                                ExtensionStates* extension_states) {
   HandleScope scope;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to