Version 3.50Version 3.51
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 
/* ***** BEGIN LICENSE BLOCK *****                                              
/* ***** BEGIN LICENSE BLOCK *****                                              
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1                                            
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1                                            
 *                                                                              
 *                                                                              
 * The contents of this file are subject to the Mozilla Public License Version  
 * The contents of this file are subject to the Mozilla Public License Version  
Skipping to line 38: 
#include "nsCOMPtr.h"                                                           
#include "nsCOMPtr.h"                                                           
#include "nsRenderingContextImpl.h"                                             
#include "nsRenderingContextImpl.h"                                             
#include "nsIDeviceContext.h"                                                   
#include "nsIDeviceContext.h"                                                   
#include "nsIImage.h"                                                           
#include "nsIImage.h"                                                           
#include "nsTransform2D.h"                                                      
#include "nsTransform2D.h"                                                      
                                                                                
#include "nsIRegion.h"                                                          
#include <stdlib.h>                                                             
#include <stdlib.h>                                                             
                                                                                
                                                                                
                                                                                
                                                                                
nsIDrawingSurface* nsRenderingContextImpl::gBackbuffer = nsnull;                
nsIDrawingSurface* nsRenderingContextImpl::gBackbuffer = nsnull;                
nsRect nsRenderingContextImpl::gBackbufferBounds = nsRect(0, 0, 0, 0);          
nsRect nsRenderingContextImpl::gBackbufferBounds = nsRect(0, 0, 0, 0);          
Skipping to line 332: 
    } else if (sr.y > iframeRect.height) {                                      
    } else if (sr.y > iframeRect.height) {                                      
      return NS_OK;                                                             
      return NS_OK;                                                             
    }                                                                           
    }                                                                           
  }                                                                             
  }                                                                             
                                                                                
                                                                                
                                                                                
  // Multiple paint rects may have been coalesced into a bounding box, so       
                                                                                
  // ensure that this rect is actually within the clip region before we draw.   
                                                                                
  nsCOMPtr<nsIRegion> clipRegion;                                               
                                                                                
  GetClipRegion(getter_AddRefs(clipRegion));                                    
                                                                                
  if (clipRegion && !clipRegion->ContainsRect(dr.x, dr.y, dr.width, dr.height)) 
                                                                                
    return NS_OK;                                                               
                                                                                
                                                                                
  return img->Draw(*this, surface, sr.x, sr.y, sr.width, sr.height,             
  return img->Draw(*this, surface, sr.x, sr.y, sr.width, sr.height,             
                   dr.x, dr.y, dr.width, dr.height);                            
                   dr.x, dr.y, dr.width, dr.height);                            
}                                                                               
}                                                                               
                                                                                
                                                                                
/* [noscript] void drawTile (in imgIContainer aImage, in nscoord aXImageStart, i
n nscoord aYImageStart, [const] in nsRect aTargetRect); */
/* [noscript] void drawTile (in imgIContainer aImage, in nscoord aXImageStart, i
n nscoord aYImageStart, [const] in nsRect aTargetRect); */


  Mail feedback and feature requests to sysadmins@mozilla.org.