From d0424a769059c84ae20beb3c217812792ea6726b Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 14 Sep 2012 16:29:47 +0200 Subject: Imported WebKit commit 37c5e5041d39a14ea0d429a77ebd352e4bd26516 (http://svn.webkit.org/repository/webkit/trunk@128608) New snapshot that enables WebKit2 build on Windows (still some bugs) and allows for WebKit to be built with qmake && make --- Source/JavaScriptCore/parser/Parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/JavaScriptCore/parser/Parser.h') diff --git a/Source/JavaScriptCore/parser/Parser.h b/Source/JavaScriptCore/parser/Parser.h index 3a61da1a8..e657e12cd 100644 --- a/Source/JavaScriptCore/parser/Parser.h +++ b/Source/JavaScriptCore/parser/Parser.h @@ -1029,9 +1029,9 @@ PassRefPtr parse(JSGlobalData* globalData, JSGlobalObject* lexicalGl { SamplingRegion samplingRegion("Parsing"); - ASSERT(source.provider()->data()); + ASSERT(!source.provider()->source().isNull()); - if (source.provider()->data()->is8Bit()) { + if (source.provider()->source().is8Bit()) { Parser< Lexer > parser(globalData, source, parameters, name, strictness, parserMode); return parser.parse(lexicalGlobalObject, debugger, execState, exception); } -- cgit v1.2.1