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

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

Issue 714083003: Revert "Move some scroll invalidations to the paint invalidation phase" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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) 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 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 // This stores the paint invalidation rect from the previous frame. 1396 // This stores the paint invalidation rect from the previous frame.
1397 LayoutRect m_previousPaintInvalidationRect; 1397 LayoutRect m_previousPaintInvalidationRect;
1398 1398
1399 // This stores the position in the paint invalidation backing's coordinate. 1399 // This stores the position in the paint invalidation backing's coordinate.
1400 // It is used to detect renderer shifts that forces a full invalidation. 1400 // It is used to detect renderer shifts that forces a full invalidation.
1401 LayoutPoint m_previousPositionFromPaintInvalidationBacking; 1401 LayoutPoint m_previousPositionFromPaintInvalidationBacking;
1402 1402
1403 static unsigned s_instanceCount; 1403 static unsigned s_instanceCount;
1404 }; 1404 };
1405 1405
1406 void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(Rend erObject* renderer);
1407
1406 // FIXME: remove this once the render object lifecycle ASSERTS are no longer hit . 1408 // FIXME: remove this once the render object lifecycle ASSERTS are no longer hit .
1407 class DeprecatedDisableModifyRenderTreeStructureAsserts { 1409 class DeprecatedDisableModifyRenderTreeStructureAsserts {
1408 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyRenderTreeStructureAsserts); 1410 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyRenderTreeStructureAsserts);
1409 public: 1411 public:
1410 DeprecatedDisableModifyRenderTreeStructureAsserts(); 1412 DeprecatedDisableModifyRenderTreeStructureAsserts();
1411 1413
1412 static bool canModifyRenderTreeStateInAnyState(); 1414 static bool canModifyRenderTreeStateInAnyState();
1413 1415
1414 private: 1416 private:
1415 TemporaryChange<bool> m_disabler; 1417 TemporaryChange<bool> m_disabler;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 void showTree(const blink::RenderObject*); 1617 void showTree(const blink::RenderObject*);
1616 void showLineTree(const blink::RenderObject*); 1618 void showLineTree(const blink::RenderObject*);
1617 void showRenderTree(const blink::RenderObject* object1); 1619 void showRenderTree(const blink::RenderObject* object1);
1618 // We don't make object2 an optional parameter so that showRenderTree 1620 // We don't make object2 an optional parameter so that showRenderTree
1619 // can be called from gdb easily. 1621 // can be called from gdb easily.
1620 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1622 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1621 1623
1622 #endif 1624 #endif
1623 1625
1624 #endif // RenderObject_h 1626 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698