2009-07-13 Dmitry Titov <dimich@chromium.org>
authordimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jul 2009 22:08:04 +0000 (22:08 +0000)
committerdimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jul 2009 22:08:04 +0000 (22:08 +0000)
        Not reviewed, another small fix for Chromium build.

        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::evaluate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@45840 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/v8/ScriptController.cpp

index 2ba8d5a..894f054 100644 (file)
@@ -1,5 +1,12 @@
 2009-07-13  Dmitry Titov  <dimich@chromium.org>
 
+        Not reviewed, another small fix for Chromium build.
+
+        * bindings/v8/ScriptController.cpp:
+        (WebCore::ScriptController::evaluate):
+
+2009-07-13  Dmitry Titov  <dimich@chromium.org>
+
         Not reviewed, fix Chromium build bustage.
 
         * bindings/v8/ScriptController.cpp:
index 9ebeb7d..136b4a1 100644 (file)
@@ -193,7 +193,7 @@ void ScriptController::evaluateInNewContext(const Vector<ScriptSourceCode>& sour
 // Evaluate a script file in the environment of this proxy.
 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode)
 {
-    String sourceURL = sourceCode.jsSourceCode().url();
+    String sourceURL = sourceCode.url();
     
     if (sourceURL.isNull() && !m_XSSAuditor->canEvaluateJavaScriptURL(sourceCode.source())) {
         // This JavaScript URL is not safe to be evaluated.