Title: [117774] trunk/Source/WebCore
Revision
117774
Author
[email protected]
Date
2012-05-21 06:02:57 -0700 (Mon, 21 May 2012)

Log Message

Web Inspector: declare setFormatted on UISourceCode (otherwise fails for styles).

Not reviewed: front-end fix as a follow up to r117751.

* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.consoleMessagesCleared):
(WebInspector.UISourceCode.prototype.setFormatted):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (117773 => 117774)


--- trunk/Source/WebCore/ChangeLog	2012-05-21 12:44:14 UTC (rev 117773)
+++ trunk/Source/WebCore/ChangeLog	2012-05-21 13:02:57 UTC (rev 117774)
@@ -1,3 +1,13 @@
+2012-05-21  'Pavel Feldman'  <[email protected]>
+
+        Web Inspector: declare setFormatted on UISourceCode (otherwise fails for styles).
+
+        Not reviewed: front-end fix as a follow up to r117751.
+
+        * inspector/front-end/UISourceCode.js:
+        (WebInspector.UISourceCode.prototype.consoleMessagesCleared):
+        (WebInspector.UISourceCode.prototype.setFormatted):
+
 2012-05-21  Yury Semikhatsky  <[email protected]>
 
         Unreviewed. Fix Closure compiler error after r117753.

Modified: trunk/Source/WebCore/inspector/front-end/UISourceCode.js (117773 => 117774)


--- trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2012-05-21 12:44:14 UTC (rev 117773)
+++ trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2012-05-21 13:02:57 UTC (rev 117774)
@@ -306,6 +306,16 @@
     {
         this._consoleMessages = [];
         this.dispatchEventToListeners(WebInspector.UISourceCode.Events.ConsoleMessagesCleared);
+    },
+
+    /**
+     * @param {boolean} formatted
+     * @param {function()=} callback
+     */
+    setFormatted: function(formatted, callback)
+    {
+        if (callback)
+            callback();
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to