| 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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 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 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 RenderBoxModelObject* RenderObject::containerForRepaint() const | 1248 RenderBoxModelObject* RenderObject::containerForRepaint() const |
| 1249 { | 1249 { |
| 1250 RenderView* v = view(); | 1250 RenderView* v = view(); |
| 1251 if (!v) | 1251 if (!v) |
| 1252 return 0; | 1252 return 0; |
| 1253 | 1253 |
| 1254 RenderBoxModelObject* repaintContainer = 0; | 1254 RenderBoxModelObject* repaintContainer = 0; |
| 1255 | 1255 |
| 1256 #if USE(ACCELERATED_COMPOSITING) | 1256 #if USE(ACCELERATED_COMPOSITING) |
| 1257 if (v->usesCompositing()) { | 1257 if (v->usesCompositing()) { |
| 1258 RenderLayer* compLayer = enclosingLayer()->enclosingCompositingLayerForR
epaint(); | 1258 RenderLayer* compLayer = enclosingLayer()->enclosingCompositingLayer(); |
| 1259 if (compLayer) | 1259 if (compLayer) |
| 1260 repaintContainer = compLayer->renderer(); | 1260 repaintContainer = compLayer->renderer(); |
| 1261 } | 1261 } |
| 1262 #endif | 1262 #endif |
| 1263 | 1263 |
| 1264 #if ENABLE(CSS_FILTERS) | 1264 #if ENABLE(CSS_FILTERS) |
| 1265 if (RenderLayer* parentLayer = enclosingLayer()) { | 1265 if (RenderLayer* parentLayer = enclosingLayer()) { |
| 1266 RenderLayer* enclosingFilterLayer = parentLayer->enclosingFilterLayer(); | 1266 RenderLayer* enclosingFilterLayer = parentLayer->enclosingFilterLayer(); |
| 1267 if (enclosingFilterLayer) | 1267 if (enclosingFilterLayer) |
| 1268 return enclosingFilterLayer->renderer(); | 1268 return enclosingFilterLayer->renderer(); |
| (...skipping 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2942 { | 2942 { |
| 2943 if (object1) { | 2943 if (object1) { |
| 2944 const WebCore::RenderObject* root = object1; | 2944 const WebCore::RenderObject* root = object1; |
| 2945 while (root->parent()) | 2945 while (root->parent()) |
| 2946 root = root->parent(); | 2946 root = root->parent(); |
| 2947 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 2947 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 2948 } | 2948 } |
| 2949 } | 2949 } |
| 2950 | 2950 |
| 2951 #endif | 2951 #endif |
| OLD | NEW |