Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: sky/engine/core/rendering/RenderObject.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 { 177 {
178 #if ENABLE(OILPAN) 178 #if ENABLE(OILPAN)
179 ASSERT(m_didCallDestroy); 179 ASSERT(m_didCallDestroy);
180 #endif 180 #endif
181 #ifndef NDEBUG 181 #ifndef NDEBUG
182 renderObjectCounter.decrement(); 182 renderObjectCounter.decrement();
183 #endif 183 #endif
184 --s_instanceCount; 184 --s_instanceCount;
185 } 185 }
186 186
187 void RenderObject::trace(Visitor* visitor)
188 {
189 visitor->trace(m_node);
190 visitor->trace(m_parent);
191 visitor->trace(m_previous);
192 visitor->trace(m_next);
193 }
194
195 String RenderObject::debugName() const 187 String RenderObject::debugName() const
196 { 188 {
197 StringBuilder name; 189 StringBuilder name;
198 name.append(renderName()); 190 name.append(renderName());
199 191
200 if (Node* node = this->node()) { 192 if (Node* node = this->node()) {
201 name.append(' '); 193 name.append(' ');
202 name.append(node->debugName()); 194 name.append(node->debugName());
203 } 195 }
204 196
(...skipping 2491 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 { 2688 {
2697 if (object1) { 2689 if (object1) {
2698 const blink::RenderObject* root = object1; 2690 const blink::RenderObject* root = object1;
2699 while (root->parent()) 2691 while (root->parent())
2700 root = root->parent(); 2692 root = root->parent();
2701 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 2693 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
2702 } 2694 }
2703 } 2695 }
2704 2696
2705 #endif 2697 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698