Title: [129748] trunk/Source/WebCore
Revision
129748
Author
vse...@chromium.org
Date
2012-09-27 03:37:56 -0700 (Thu, 27 Sep 2012)

Log Message

Unreviewed inspector front-end closure compilation fix.

* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.revertToOriginal):
(WebInspector.UISourceCode.prototype.revertAndClearHistory):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (129747 => 129748)


--- trunk/Source/WebCore/ChangeLog	2012-09-27 10:05:10 UTC (rev 129747)
+++ trunk/Source/WebCore/ChangeLog	2012-09-27 10:37:56 UTC (rev 129748)
@@ -1,3 +1,11 @@
+2012-09-27  Vsevolod Vlasov  <vse...@chromium.org>
+
+        Unreviewed inspector front-end closure compilation fix.
+
+        * inspector/front-end/UISourceCode.js:
+        (WebInspector.UISourceCode.prototype.revertToOriginal):
+        (WebInspector.UISourceCode.prototype.revertAndClearHistory):
+
 2012-09-25  Alexander Pavlov  <apav...@chromium.org>
 
         CollectingRules and QueryingRules modes of SelectorChecker miss some complex selectors with pseudo elements

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


--- trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2012-09-27 10:05:10 UTC (rev 129747)
+++ trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2012-09-27 10:37:56 UTC (rev 129748)
@@ -201,10 +201,10 @@
          */
         function callback(content, contentEncoded, mimeType)
         {
-            if (typeof content === "undefined")
+            if (typeof content !== "string")
                 return;
 
-            this._setContent(/** @type {string} */ content);
+            this._setContent(content);
         }
 
         this.requestOriginalContent(callback.bind(this));
@@ -223,10 +223,10 @@
          */
         function revert(content, contentEncoded, mimeType)
         {
-            if (typeof content === "undefined")
+            if (typeof content !== "string")
                 return;
 
-            this._setContent(/** @type {string} */ content);
+            this._setContent(content);
             this._clearRevisionHistory();
             this.history = [];
             callback(this);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to