Index: third_party/WebKit/Source/core/paint/BoxDecorationData.h |
diff --git a/third_party/WebKit/Source/core/paint/BoxDecorationData.h b/third_party/WebKit/Source/core/paint/BoxDecorationData.h |
index e66c5e2942726854cad6b95654d9d2dd9948fd29..9af822a67dfa8b58fc279d5d705b66cd6c5bf6fd 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxDecorationData.h |
+++ b/third_party/WebKit/Source/core/paint/BoxDecorationData.h |
@@ -11,6 +11,8 @@ |
namespace blink { |
class LayoutBox; |
+class NGPhysicalFragment; |
+class ComputedStyle; |
// Information extracted from ComputedStyle for box painting. |
struct BoxDecorationData { |
@@ -18,6 +20,7 @@ struct BoxDecorationData { |
public: |
BoxDecorationData(const LayoutBox&); |
+ BoxDecorationData(const NGPhysicalFragment*); |
Color background_color; |
BackgroundBleedAvoidance bleed_avoidance; |
@@ -26,6 +29,7 @@ struct BoxDecorationData { |
bool has_appearance; |
private: |
+ BoxDecorationData(const ComputedStyle*); |
BackgroundBleedAvoidance DetermineBackgroundBleedAvoidance(const LayoutBox&); |
}; |