| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "RenderScrollbarPart.h" | 71 #include "RenderScrollbarPart.h" |
| 72 #include "RenderTheme.h" | 72 #include "RenderTheme.h" |
| 73 #include "RenderView.h" | 73 #include "RenderView.h" |
| 74 #include "ScaleTransformOperation.h" | 74 #include "ScaleTransformOperation.h" |
| 75 #include "Scrollbar.h" | 75 #include "Scrollbar.h" |
| 76 #include "ScrollbarTheme.h" | 76 #include "ScrollbarTheme.h" |
| 77 #include "SelectionController.h" | 77 #include "SelectionController.h" |
| 78 #include "TransformationMatrix.h" | 78 #include "TransformationMatrix.h" |
| 79 #include "TranslateTransformOperation.h" | 79 #include "TranslateTransformOperation.h" |
| 80 #include <wtf/StdLibExtras.h> | 80 #include <wtf/StdLibExtras.h> |
| 81 #include <wtf/UnusedParam.h> |
| 81 | 82 |
| 82 #if USE(ACCELERATED_COMPOSITING) | 83 #if USE(ACCELERATED_COMPOSITING) |
| 83 #include "RenderLayerBacking.h" | 84 #include "RenderLayerBacking.h" |
| 84 #include "RenderLayerCompositor.h" | 85 #include "RenderLayerCompositor.h" |
| 85 #endif | 86 #endif |
| 86 | 87 |
| 87 #if ENABLE(SVG) | 88 #if ENABLE(SVG) |
| 88 #include "SVGNames.h" | 89 #include "SVGNames.h" |
| 89 #endif | 90 #endif |
| 90 | 91 |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 if (hasTransform != hadTransform) { | 320 if (hasTransform != hadTransform) { |
| 320 if (hasTransform) | 321 if (hasTransform) |
| 321 m_transform.set(new TransformationMatrix); | 322 m_transform.set(new TransformationMatrix); |
| 322 else | 323 else |
| 323 m_transform.clear(); | 324 m_transform.clear(); |
| 324 } | 325 } |
| 325 | 326 |
| 326 if (hasTransform) { | 327 if (hasTransform) { |
| 327 RenderBox* box = renderBox(); | 328 RenderBox* box = renderBox(); |
| 328 ASSERT(box); | 329 ASSERT(box); |
| 329 m_transform->reset(); | 330 m_transform->makeIdentity(); |
| 330 box->style()->applyTransform(*m_transform, box->borderBoxRect().size()); | 331 box->style()->applyTransform(*m_transform, box->borderBoxRect().size()); |
| 331 } | 332 } |
| 332 } | 333 } |
| 333 | 334 |
| 334 void RenderLayer::setHasVisibleContent(bool b) | 335 void RenderLayer::setHasVisibleContent(bool b) |
| 335 { | 336 { |
| 336 if (m_hasVisibleContent == b && !m_visibleContentStatusDirty) | 337 if (m_hasVisibleContent == b && !m_visibleContentStatusDirty) |
| 337 return; | 338 return; |
| 338 m_visibleContentStatusDirty = false; | 339 m_visibleContentStatusDirty = false; |
| 339 m_hasVisibleContent = b; | 340 m_hasVisibleContent = b; |
| (...skipping 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2834 if (m_marquee) | 2835 if (m_marquee) |
| 2835 m_marquee->suspend(); | 2836 m_marquee->suspend(); |
| 2836 | 2837 |
| 2837 for (RenderLayer* curr = firstChild(); curr; curr = curr->nextSibling()) | 2838 for (RenderLayer* curr = firstChild(); curr; curr = curr->nextSibling()) |
| 2838 curr->suspendMarquees(); | 2839 curr->suspendMarquees(); |
| 2839 } | 2840 } |
| 2840 | 2841 |
| 2841 } // namespace WebCore | 2842 } // namespace WebCore |
| 2842 | 2843 |
| 2843 | 2844 |
| OLD | NEW |