Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / ui / ViewportControl.js
index 789ee1a..e783548 100644 (file)
@@ -34,7 +34,7 @@
  */
 WebInspector.ViewportControl = function(provider)
 {
-    this.element = document.createElement("div");
+    this.element = createElement("div");
     this.element.style.overflow = "auto";
     this._topGapElement = this.element.createChild("div", "viewport-control-gap-element");
     this._topGapElement.textContent = ".";
@@ -230,6 +230,7 @@ WebInspector.ViewportControl.prototype = {
 
     /**
      * @param {?Selection} selection
+     * @suppressGlobalPropertiesCheck
      */
     _isSelectionBackwards: function(selection)
     {