Title: [111625] trunk/Source/WebCore
Revision
111625
Author
[email protected]
Date
2012-03-21 17:25:48 -0700 (Wed, 21 Mar 2012)

Log Message

Build fix for !ENABLE(INSPECTOR) after r104831.

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::dispatchDidParseSource):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111624 => 111625)


--- trunk/Source/WebCore/ChangeLog	2012-03-22 00:20:43 UTC (rev 111624)
+++ trunk/Source/WebCore/ChangeLog	2012-03-22 00:25:48 UTC (rev 111625)
@@ -1,3 +1,10 @@
+2012-03-21  Patrick Gansterer  <[email protected]>
+
+        Build fix for !ENABLE(INSPECTOR) after r104831.
+
+        * bindings/js/ScriptDebugServer.cpp:
+        (WebCore::ScriptDebugServer::dispatchDidParseSource):
+
 2012-03-21  Xiaomei Ji  <[email protected]>
 
         visual word movement: using cache to decrease the number of collectLeafBoxesInLogicalOrder on RootInlineBox

Modified: trunk/Source/WebCore/bindings/js/ScriptDebugServer.cpp (111624 => 111625)


--- trunk/Source/WebCore/bindings/js/ScriptDebugServer.cpp	2012-03-22 00:20:43 UTC (rev 111624)
+++ trunk/Source/WebCore/bindings/js/ScriptDebugServer.cpp	2012-03-22 00:25:48 UTC (rev 111625)
@@ -236,8 +236,10 @@
     script.startColumn = sourceProvider->startPosition().m_column.zeroBasedInt();
     script.isContentScript = isContentScript;
 
+#if ENABLE(INSPECTOR)
     if (script.url.isEmpty())
         script.url = ""
+#endif
 
     int sourceLength = script.source.length();
     int lineCount = 1;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to