Chromium Code Reviews

Unified Diff: src/scanner.h

Issue 6685088: Merge isolates to bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/runtime.cc ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
===================================================================
--- src/scanner.h (revision 7267)
+++ src/scanner.h (working copy)
@@ -134,14 +134,16 @@
class V8JavaScriptScanner : public JavaScriptScanner {
public:
- V8JavaScriptScanner();
+ explicit V8JavaScriptScanner(Isolate* isolate)
+ : JavaScriptScanner(isolate) {}
+
void Initialize(UC16CharacterStream* source);
};
class JsonScanner : public Scanner {
public:
- JsonScanner();
+ explicit JsonScanner(Isolate* isolate);
void Initialize(UC16CharacterStream* source);
« no previous file with comments | « src/runtime.cc ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine