| OLD | NEW | 
|     1 /* |     1 /* | 
|     2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |     2  * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 
|     3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) |     3  *           (C) 1999 Antti Koivisto (koivisto@kde.org) | 
|     4  *           (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |     4  *           (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 
|     5  *           (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |     5  *           (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 
|     6  * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |     6  * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. | 
|     7  *               All rights reserved. |     7  *               All rights reserved. | 
|     8  * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |     8  * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 
|     9  * |     9  * | 
|    10  * This library is free software; you can redistribute it and/or |    10  * This library is free software; you can redistribute it and/or | 
| (...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1491   if (!style()->backgroundLayers().image() || |  1491   if (!style()->backgroundLayers().image() || | 
|  1492       style()->backgroundLayers().next()) { |  1492       style()->backgroundLayers().next()) { | 
|  1493     paintedExtent = backgroundRect; |  1493     paintedExtent = backgroundRect; | 
|  1494     return true; |  1494     return true; | 
|  1495   } |  1495   } | 
|  1496  |  1496  | 
|  1497   BackgroundImageGeometry geometry; |  1497   BackgroundImageGeometry geometry; | 
|  1498   // TODO(jchaffraix): This function should be rethought as it's called during |  1498   // TODO(jchaffraix): This function should be rethought as it's called during | 
|  1499   // and outside of the paint phase. Potentially returning different results at |  1499   // and outside of the paint phase. Potentially returning different results at | 
|  1500   // different phases. |  1500   // different phases. | 
|  1501   geometry.calculate(*this, nullptr, GlobalPaintNormalPhase, |  1501   geometry.calculate(*this, nullptr, nullptr, GlobalPaintNormalPhase, | 
|  1502                      style()->backgroundLayers(), backgroundRect); |  1502                      style()->backgroundLayers(), backgroundRect); | 
|  1503   if (geometry.hasNonLocalGeometry()) |  1503   if (geometry.hasNonLocalGeometry()) | 
|  1504     return false; |  1504     return false; | 
|  1505   paintedExtent = LayoutRect(geometry.destRect()); |  1505   paintedExtent = LayoutRect(geometry.destRect()); | 
|  1506   return true; |  1506   return true; | 
|  1507 } |  1507 } | 
|  1508  |  1508  | 
|  1509 bool LayoutBox::backgroundIsKnownToBeOpaqueInRect( |  1509 bool LayoutBox::backgroundIsKnownToBeOpaqueInRect( | 
|  1510     const LayoutRect& localRect) const { |  1510     const LayoutRect& localRect) const { | 
|  1511   if (isDocumentElement() || backgroundStolenForBeingBody()) |  1511   if (isDocumentElement() || backgroundStolenForBeingBody()) | 
| (...skipping 4177 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5689     block->adjustChildDebugRect(rect); |  5689     block->adjustChildDebugRect(rect); | 
|  5690  |  5690  | 
|  5691   return rect; |  5691   return rect; | 
|  5692 } |  5692 } | 
|  5693  |  5693  | 
|  5694 bool LayoutBox::shouldClipOverflow() const { |  5694 bool LayoutBox::shouldClipOverflow() const { | 
|  5695   return hasOverflowClip() || styleRef().containsPaint() || hasControlClip(); |  5695   return hasOverflowClip() || styleRef().containsPaint() || hasControlClip(); | 
|  5696 } |  5696 } | 
|  5697  |  5697  | 
|  5698 }  // namespace blink |  5698 }  // namespace blink | 
| OLD | NEW |