use DisplayPort
authorBenjamin Stover <bstover@mozilla.com>
Tue, 31 Aug 2010 14:18:41 -0700
changeset 1970 904ee5d6d6ff5112929116fb403a198a28913373
parent 1969 d8f3ee1e7cc85aedf4a25d7fd186af0eba0782d0
child 1971 0a1a74ff1cd94e2f0a385121351a38257cb164ca
push id1714
push userdougt@mozilla.com
push dateThu, 16 Sep 2010 02:04:21 +0000
use DisplayPort
chrome/content/bindings/browser.js
--- a/chrome/content/bindings/browser.js
+++ b/chrome/content/bindings/browser.js
@@ -370,17 +370,17 @@ let ContentScroll =  {
         break;
 
       case "Content:SetDisplayportArea": {
         let displayport = new Rect(json.x, json.y, json.w, json.h).translateInside(this._contentArea);
         if (displayport.isEmpty())
           break;
 
         let cwu = Util.getWindowUtils(content);
-        cwu.setDisplayport(displayport.x, displayport.y, displayport.width, displayport.height);
+        cwu.setDisplayPort(displayport.x, displayport.y, displayport.width, displayport.height);
         sendAsyncMessage("Content:SetDisplayportArea:Return");
         break;
       }
 
       case "Content:SetCssViewportSize": {
         let cwu = Util.getWindowUtils(content);
         cwu.setCSSViewport(json.width, json.height);
         break;