| 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 Apple Inc. All rights reserved. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 return ImageQualityController::imageQualityController()->chooseInterpolation
Quality(context, this, image, layer, size); | 106 return ImageQualityController::imageQualityController()->chooseInterpolation
Quality(context, this, image, layer, size); |
| 107 } | 107 } |
| 108 | 108 |
| 109 RenderBoxModelObject::RenderBoxModelObject(ContainerNode* node) | 109 RenderBoxModelObject::RenderBoxModelObject(ContainerNode* node) |
| 110 : RenderLayerModelObject(node) | 110 : RenderLayerModelObject(node) |
| 111 { | 111 { |
| 112 } | 112 } |
| 113 | 113 |
| 114 RenderBoxModelObject::~RenderBoxModelObject() | 114 RenderBoxModelObject::~RenderBoxModelObject() |
| 115 { | 115 { |
| 116 } |
| 117 |
| 118 void RenderBoxModelObject::destroy() |
| 119 { |
| 116 ImageQualityController::remove(this); | 120 ImageQualityController::remove(this); |
| 121 RenderLayerModelObject::destroy(); |
| 117 } | 122 } |
| 118 | 123 |
| 119 void RenderBoxModelObject::willBeDestroyed() | 124 void RenderBoxModelObject::willBeDestroyed() |
| 120 { | 125 { |
| 121 // A continuation of this RenderObject should be destroyed at subclasses. | 126 // A continuation of this RenderObject should be destroyed at subclasses. |
| 122 ASSERT(!continuation()); | 127 ASSERT(!continuation()); |
| 123 | 128 |
| 124 // If this is a first-letter object with a remaining text fragment then the | 129 // If this is a first-letter object with a remaining text fragment then the |
| 125 // entry needs to be cleared from the map. | 130 // entry needs to be cleared from the map. |
| 126 if (firstLetterRemainingText()) | 131 if (firstLetterRemainingText()) |
| (...skipping 2597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); | 2729 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); |
| 2725 for (RenderObject* child = startChild; child && child != endChild; ) { | 2730 for (RenderObject* child = startChild; child && child != endChild; ) { |
| 2726 // Save our next sibling as moveChildTo will clear it. | 2731 // Save our next sibling as moveChildTo will clear it. |
| 2727 RenderObject* nextSibling = child->nextSibling(); | 2732 RenderObject* nextSibling = child->nextSibling(); |
| 2728 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert); | 2733 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert); |
| 2729 child = nextSibling; | 2734 child = nextSibling; |
| 2730 } | 2735 } |
| 2731 } | 2736 } |
| 2732 | 2737 |
| 2733 } // namespace blink | 2738 } // namespace blink |
| OLD | NEW |