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

Side by Side Diff: Source/core/rendering/RenderBox.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 } 569 }
570 570
571 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject*) con st 571 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject*) con st
572 { 572 {
573 ASSERT_NOT_REACHED(); 573 ASSERT_NOT_REACHED();
574 return 0; 574 return 0;
575 } 575 }
576 576
577 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir ection() == object->style()->direction(); } 577 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir ection() == object->style()->direction(); }
578 578
579 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
580 static void reportStaticMembersMemoryUsage(MemoryInstrumentation*);
581
582 #if ENABLE(CSS_EXCLUSIONS) 579 #if ENABLE(CSS_EXCLUSIONS)
583 ExclusionShapeOutsideInfo* exclusionShapeOutsideInfo() const 580 ExclusionShapeOutsideInfo* exclusionShapeOutsideInfo() const
584 { 581 {
585 return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnab ledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0; 582 return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnab ledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0;
586 } 583 }
587 #endif 584 #endif
588 585
589 protected: 586 protected:
590 virtual void willBeDestroyed(); 587 virtual void willBeDestroyed();
591 588
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 723 }
727 724
728 inline RenderBox* RenderBox::lastChildBox() const 725 inline RenderBox* RenderBox::lastChildBox() const
729 { 726 {
730 return toRenderBox(lastChild()); 727 return toRenderBox(lastChild());
731 } 728 }
732 729
733 } // namespace WebCore 730 } // namespace WebCore
734 731
735 #endif // RenderBox_h 732 #endif // RenderBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698