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

Side by Side Diff: Source/core/rendering/RenderReplaced.cpp

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/RenderReplaced.h ('k') | Source/core/rendering/RenderTableCol.h » ('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 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 15 matching lines...) Expand all
26 26
27 #include "Frame.h" 27 #include "Frame.h"
28 #include "GraphicsContext.h" 28 #include "GraphicsContext.h"
29 #include "LayoutRepainter.h" 29 #include "LayoutRepainter.h"
30 #include "Page.h" 30 #include "Page.h"
31 #include "RenderBlock.h" 31 #include "RenderBlock.h"
32 #include "RenderLayer.h" 32 #include "RenderLayer.h"
33 #include "RenderTheme.h" 33 #include "RenderTheme.h"
34 #include "RenderView.h" 34 #include "RenderView.h"
35 #include "VisiblePosition.h" 35 #include "VisiblePosition.h"
36 #include "WebCoreMemoryInstrumentation.h"
37 36
38 using namespace std; 37 using namespace std;
39 38
40 namespace WebCore { 39 namespace WebCore {
41 40
42 const int cDefaultWidth = 300; 41 const int cDefaultWidth = 300;
43 const int cDefaultHeight = 150; 42 const int cDefaultHeight = 150;
44 43
45 RenderReplaced::RenderReplaced(Element* element) 44 RenderReplaced::RenderReplaced(Element* element)
46 : RenderBox(element) 45 : RenderBox(element)
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 } 568 }
570 569
571 if (style()) { 570 if (style()) {
572 if (v) 571 if (v)
573 r.inflate(style()->outlineSize()); 572 r.inflate(style()->outlineSize());
574 } 573 }
575 computeRectForRepaint(repaintContainer, r); 574 computeRectForRepaint(repaintContainer, r);
576 return r; 575 return r;
577 } 576 }
578 577
579 void RenderReplaced::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
580 {
581 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering) ;
582 RenderBox::reportMemoryUsage(memoryObjectInfo);
583 } 578 }
584
585 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderReplaced.h ('k') | Source/core/rendering/RenderTableCol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698