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

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 1599673002: compositor-worker: Remove code from cc_blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt to fix build issue by updating dependencies of blink_platform_unittests. Created 4 years, 11 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
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 { 989 {
990 ElementRareData& rareData = *elementRareData(); 990 ElementRareData& rareData = *elementRareData();
991 rareData.decrementCompositorProxiedProperties(mutableProperties); 991 rareData.decrementCompositorProxiedProperties(mutableProperties);
992 if (!rareData.proxiedPropertyCounts()) 992 if (!rareData.proxiedPropertyCounts())
993 setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::creat e(StyleChangeReason::CompositorProxy)); 993 setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::creat e(StyleChangeReason::CompositorProxy));
994 } 994 }
995 995
996 uint32_t Element::compositorMutableProperties() const 996 uint32_t Element::compositorMutableProperties() const
997 { 997 {
998 if (!hasRareData()) 998 if (!hasRareData())
999 return WebCompositorMutablePropertyNone; 999 return CompositorMutablePropertyNone;
1000 if (CompositorProxiedPropertySet* set = elementRareData()->proxiedPropertyCo unts()) 1000 if (CompositorProxiedPropertySet* set = elementRareData()->proxiedPropertyCo unts())
1001 return set->proxiedProperties(); 1001 return set->proxiedProperties();
1002 return WebCompositorMutablePropertyNone; 1002 return CompositorMutablePropertyNone;
1003 } 1003 }
1004 1004
1005 bool Element::hasNonEmptyLayoutSize() const 1005 bool Element::hasNonEmptyLayoutSize() const
1006 { 1006 {
1007 document().updateLayoutIgnorePendingStylesheets(); 1007 document().updateLayoutIgnorePendingStylesheets();
1008 1008
1009 if (LayoutBoxModelObject* box = layoutBoxModelObject()) 1009 if (LayoutBoxModelObject* box = layoutBoxModelObject())
1010 return box->hasNonEmptyLayoutSize(); 1010 return box->hasNonEmptyLayoutSize();
1011 return false; 1011 return false;
1012 } 1012 }
(...skipping 2633 matching lines...) Expand 10 before | Expand all | Expand 10 after
3646 { 3646 {
3647 #if ENABLE(OILPAN) 3647 #if ENABLE(OILPAN)
3648 if (hasRareData()) 3648 if (hasRareData())
3649 visitor->trace(elementRareData()); 3649 visitor->trace(elementRareData());
3650 visitor->trace(m_elementData); 3650 visitor->trace(m_elementData);
3651 #endif 3651 #endif
3652 ContainerNode::trace(visitor); 3652 ContainerNode::trace(visitor);
3653 } 3653 }
3654 3654
3655 } // namespace blink 3655 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698