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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2571283002: Remove StyleDifference::needsPaintPropertyUpdate() (Closed)
Patch Set: Fix layout test failures Created 4 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
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 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
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 3900 matching lines...) Expand 10 before | Expand all | Expand 10 after
3911 bool diffNeedsFullLayoutAndPaintInvalidation( 3911 bool diffNeedsFullLayoutAndPaintInvalidation(
3912 const ComputedStyle& other) const; 3912 const ComputedStyle& other) const;
3913 bool diffNeedsFullLayout(const ComputedStyle& other) const; 3913 bool diffNeedsFullLayout(const ComputedStyle& other) const;
3914 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 3914 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
3915 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 3915 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
3916 bool diffNeedsPaintInvalidationObjectForPaintImage( 3916 bool diffNeedsPaintInvalidationObjectForPaintImage(
3917 const StyleImage*, 3917 const StyleImage*,
3918 const ComputedStyle& other) const; 3918 const ComputedStyle& other) const;
3919 void updatePropertySpecificDifferences(const ComputedStyle& other, 3919 void updatePropertySpecificDifferences(const ComputedStyle& other,
3920 StyleDifference&) const; 3920 StyleDifference&) const;
3921 bool diffNeedsPaintPropertyUpdate(const ComputedStyle& other,
3922 const StyleDifference&) const;
3923 3921
3924 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, 3922 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin,
3925 ApplyMotionPath) const; 3923 ApplyMotionPath) const;
3926 static bool shadowListHasCurrentColor(const ShadowList*); 3924 static bool shadowListHasCurrentColor(const ShadowList*);
3927 3925
3928 StyleInheritedVariables& mutableInheritedVariables(); 3926 StyleInheritedVariables& mutableInheritedVariables();
3929 StyleNonInheritedVariables& mutableNonInheritedVariables(); 3927 StyleNonInheritedVariables& mutableNonInheritedVariables();
3930 }; 3928 };
3931 3929
3932 // FIXME: Reduce/remove the dependency on zoom adjusted int values. 3930 // FIXME: Reduce/remove the dependency on zoom adjusted int values.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
4014 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 4012 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
4015 } 4013 }
4016 4014
4017 inline bool ComputedStyle::hasPseudoElementStyle() const { 4015 inline bool ComputedStyle::hasPseudoElementStyle() const {
4018 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 4016 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
4019 } 4017 }
4020 4018
4021 } // namespace blink 4019 } // namespace blink
4022 4020
4023 #endif // ComputedStyle_h 4021 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698