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

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

Issue 778643002: Oilpan: prevent eager tracing of Node and RenderObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | no next file » | 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 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 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 // This stores the paint invalidation rect from the previous frame. 1398 // This stores the paint invalidation rect from the previous frame.
1399 LayoutRect m_previousPaintInvalidationRect; 1399 LayoutRect m_previousPaintInvalidationRect;
1400 1400
1401 // This stores the position in the paint invalidation backing's coordinate. 1401 // This stores the position in the paint invalidation backing's coordinate.
1402 // It is used to detect renderer shifts that forces a full invalidation. 1402 // It is used to detect renderer shifts that forces a full invalidation.
1403 LayoutPoint m_previousPositionFromPaintInvalidationBacking; 1403 LayoutPoint m_previousPositionFromPaintInvalidationBacking;
1404 1404
1405 static unsigned s_instanceCount; 1405 static unsigned s_instanceCount;
1406 }; 1406 };
1407 1407
1408 WILL_NOT_BE_EAGERLY_TRACED_CLASS(RenderObject);
1409
1408 // FIXME: remove this once the render object lifecycle ASSERTS are no longer hit . 1410 // FIXME: remove this once the render object lifecycle ASSERTS are no longer hit .
1409 class DeprecatedDisableModifyRenderTreeStructureAsserts { 1411 class DeprecatedDisableModifyRenderTreeStructureAsserts {
1410 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyRenderTreeStructureAsserts); 1412 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyRenderTreeStructureAsserts);
1411 public: 1413 public:
1412 DeprecatedDisableModifyRenderTreeStructureAsserts(); 1414 DeprecatedDisableModifyRenderTreeStructureAsserts();
1413 1415
1414 static bool canModifyRenderTreeStateInAnyState(); 1416 static bool canModifyRenderTreeStateInAnyState();
1415 1417
1416 private: 1418 private:
1417 TemporaryChange<bool> m_disabler; 1419 TemporaryChange<bool> m_disabler;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1617 void showTree(const blink::RenderObject*); 1619 void showTree(const blink::RenderObject*);
1618 void showLineTree(const blink::RenderObject*); 1620 void showLineTree(const blink::RenderObject*);
1619 void showRenderTree(const blink::RenderObject* object1); 1621 void showRenderTree(const blink::RenderObject* object1);
1620 // We don't make object2 an optional parameter so that showRenderTree 1622 // We don't make object2 an optional parameter so that showRenderTree
1621 // can be called from gdb easily. 1623 // can be called from gdb easily.
1622 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1624 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1623 1625
1624 #endif 1626 #endif
1625 1627
1626 #endif // RenderObject_h 1628 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/dom/Node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698