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

Side by Side Diff: Source/core/dom/Document.cpp

Issue 246783004: Revert of Recompute overflow after transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Local revert Created 6 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
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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1863 inheritHtmlAndBodyElementStyles(change); 1863 inheritHtmlAndBodyElementStyles(change);
1864 dirtyElementsForLayerUpdate(); 1864 dirtyElementsForLayerUpdate();
1865 if (documentElement->shouldCallRecalcStyle(change)) 1865 if (documentElement->shouldCallRecalcStyle(change))
1866 documentElement->recalcStyle(change); 1866 documentElement->recalcStyle(change);
1867 while (dirtyElementsForLayerUpdate()) 1867 while (dirtyElementsForLayerUpdate())
1868 documentElement->recalcStyle(NoChange); 1868 documentElement->recalcStyle(NoChange);
1869 } 1869 }
1870 1870
1871 ensureStyleResolver().printStats(); 1871 ensureStyleResolver().printStats();
1872 1872
1873 view()->recalcOverflowAfterStyleChange();
1874 view()->updateCompositingLayersAfterStyleChange(); 1873 view()->updateCompositingLayersAfterStyleChange();
1875 1874
1876 clearChildNeedsStyleRecalc(); 1875 clearChildNeedsStyleRecalc();
1877 1876
1878 if (m_styleEngine->hasResolver()) { 1877 if (m_styleEngine->hasResolver()) {
1879 // Pseudo element removal and similar may only work with these flags sti ll set. Reset them after the style recalc. 1878 // Pseudo element removal and similar may only work with these flags sti ll set. Reset them after the style recalc.
1880 StyleResolver& resolver = m_styleEngine->ensureResolver(); 1879 StyleResolver& resolver = m_styleEngine->ensureResolver();
1881 m_styleEngine->resetCSSFeatureFlags(resolver.ensureUpdatedRuleFeatureSet ()); 1880 m_styleEngine->resetCSSFeatureFlags(resolver.ensureUpdatedRuleFeatureSet ());
1882 resolver.clearStyleSharingList(); 1881 resolver.clearStyleSharingList();
1883 } 1882 }
(...skipping 3718 matching lines...) Expand 10 before | Expand all | Expand 10 after
5602 (*it)->invalidateCache(attrName); 5601 (*it)->invalidateCache(attrName);
5603 } 5602 }
5604 5603
5605 void Document::trace(Visitor* visitor) 5604 void Document::trace(Visitor* visitor)
5606 { 5605 {
5607 Supplementable<Document>::trace(visitor); 5606 Supplementable<Document>::trace(visitor);
5608 ContainerNode::trace(visitor); 5607 ContainerNode::trace(visitor);
5609 } 5608 }
5610 5609
5611 } // namespace WebCore 5610 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/compositing/repaint/should-not-repaint-composited-transform-expected.txt ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698