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

Unified Diff: src/preparser-api.cc

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. 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 | « src/preparser.cc ('k') | src/prettyprinter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser-api.cc
===================================================================
--- src/preparser-api.cc (revision 7267)
+++ src/preparser-api.cc (working copy)
@@ -26,6 +26,9 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "../include/v8-preparser.h"
+
+#include "v8.h"
+
#include "globals.h"
#include "checks.h"
#include "allocation.h"
@@ -158,6 +161,9 @@
class StandAloneJavaScriptScanner : public JavaScriptScanner {
public:
+ StandAloneJavaScriptScanner()
+ : JavaScriptScanner(Isolate::Current()) { }
+
void Initialize(UC16CharacterStream* source) {
source_ = source;
Init();
« no previous file with comments | « src/preparser.cc ('k') | src/prettyprinter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698