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

Unified Diff: src/bootstrapper.cc

Issue 8571017: Presubmit failures fixed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 16c332f0fd02a621fc0a2e937c741ab840e7b620..52fe178d4d6dea597e94148bb3ce91a4d582e46f 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -211,13 +211,12 @@ class Genesis BASE_EMBEDDED {
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 @@ class Genesis BASE_EMBEDDED {
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 @@ bool Genesis::InstallExtensions(Handle<Context> global_context,
// 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(const char* name,
}
-bool Genesis::InstallExtension(v8::RegisteredExtension* current,
+bool Genesis::InstallExtension(v8::RegisteredExtension* current,
ExtensionStates* extension_states) {
HandleScope scope;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698