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

Side by Side Diff: Source/core/rendering/svg/RenderSVGContainer.cpp

Issue 23521004: Remove StackStats. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Windows compile. Created 7 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 29 matching lines...) Expand all
40 , m_needsBoundariesUpdate(true) 40 , m_needsBoundariesUpdate(true)
41 { 41 {
42 } 42 }
43 43
44 RenderSVGContainer::~RenderSVGContainer() 44 RenderSVGContainer::~RenderSVGContainer()
45 { 45 {
46 } 46 }
47 47
48 void RenderSVGContainer::layout() 48 void RenderSVGContainer::layout()
49 { 49 {
50 StackStats::LayoutCheckPoint layoutCheckPoint;
51 ASSERT(needsLayout()); 50 ASSERT(needsLayout());
52 51
53 // RenderSVGRoot disables layoutState for the SVG rendering tree. 52 // RenderSVGRoot disables layoutState for the SVG rendering tree.
54 ASSERT(!view()->layoutStateEnabled()); 53 ASSERT(!view()->layoutStateEnabled());
55 54
56 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL ayout(this) || selfWillPaint()); 55 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL ayout(this) || selfWillPaint());
57 56
58 // Allow RenderSVGViewportContainer to update its viewport. 57 // Allow RenderSVGViewportContainer to update its viewport.
59 calcViewport(); 58 calcViewport();
60 59
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 return true; 182 return true;
184 } 183 }
185 } 184 }
186 185
187 // Spec: Only graphical elements can be targeted by the mouse, period. 186 // Spec: Only graphical elements can be targeted by the mouse, period.
188 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched." 187 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched."
189 return false; 188 return false;
190 } 189 }
191 190
192 } 191 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | Source/core/rendering/svg/RenderSVGForeignObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698