Title: [132475] trunk/Source/WebCore
Revision
132475
Author
[email protected]
Date
2012-10-25 05:45:28 -0700 (Thu, 25 Oct 2012)

Log Message

Unreviewed, fix Web Inspector frontend compilability

* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype._ondragstart):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype._handleEmptySpaceClick):
(WebInspector.StylePropertyTreeElement.prototype):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132474 => 132475)


--- trunk/Source/WebCore/ChangeLog	2012-10-25 12:11:00 UTC (rev 132474)
+++ trunk/Source/WebCore/ChangeLog	2012-10-25 12:45:28 UTC (rev 132475)
@@ -1,3 +1,13 @@
+2012-10-25  Alexander Pavlov  <[email protected]>
+
+        Unreviewed, fix Web Inspector frontend compilability
+
+        * inspector/front-end/ElementsTreeOutline.js:
+        (WebInspector.ElementsTreeOutline.prototype._ondragstart):
+        * inspector/front-end/StylesSidebarPane.js:
+        (WebInspector.StylePropertiesSection.prototype._handleEmptySpaceClick):
+        (WebInspector.StylePropertyTreeElement.prototype):
+
 2012-10-23  Alexander Pavlov  <[email protected]>
 
         Web Inspector: Drag and drop property value from Inspector is not working as expected

Modified: trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js (132474 => 132475)


--- trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js	2012-10-25 12:11:00 UTC (rev 132474)
+++ trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js	2012-10-25 12:45:28 UTC (rev 132475)
@@ -359,7 +359,7 @@
 
     _ondragstart: function(event)
     {
-        if (!getSelection().isCollapsed)
+        if (!window.getSelection().isCollapsed)
             return false;
 
         var treeElement = this._treeElementFromEvent(event);

Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (132474 => 132475)


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-10-25 12:11:00 UTC (rev 132474)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-10-25 12:45:28 UTC (rev 132475)
@@ -1231,7 +1231,7 @@
         if (!this.editable)
             return;
 
-        if (!getSelection().isCollapsed)
+        if (!window.getSelection().isCollapsed)
             return;
 
         if (this._checkWillCancelEditing())
@@ -2048,7 +2048,7 @@
 
     _mouseClick: function(event)
     {
-        if (!getSelection().isCollapsed)
+        if (!window.getSelection().isCollapsed)
             return;
 
         event.consume(true);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to