| Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| index 59269deba953ac376ad91d240effa81c7b963865..8aaebc3ed5f38df9e07115a0e92dd14f9956d3b3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| @@ -165,6 +165,13 @@ class PLATFORM_EXPORT PaintController {
|
| bool imagePainted() const { return m_imagePainted; }
|
| void setImagePainted() { m_imagePainted = true; }
|
|
|
| + bool nonDefaultBackgroundColorPainted() const {
|
| + return m_nonDefaultBackgroundColorPainted;
|
| + }
|
| + void setNonDefaultBackgroundColorPainted() {
|
| + m_nonDefaultBackgroundColorPainted = true;
|
| + }
|
| +
|
| // Returns displayItemList added using createAndAppend() since beginning or
|
| // the last commitNewDisplayItems(). Use with care.
|
| DisplayItemList& newDisplayItemList() { return m_newDisplayItemList; }
|
| @@ -195,6 +202,7 @@ class PLATFORM_EXPORT PaintController {
|
| m_subsequenceCachingDisabled(false),
|
| m_textPainted(false),
|
| m_imagePainted(false),
|
| + m_nonDefaultBackgroundColorPainted(false),
|
| m_skippingCacheCount(0),
|
| m_numCachedNewItems(0),
|
| m_currentCachedSubsequenceBeginIndexInNewList(kNotFound)
|
| @@ -298,6 +306,7 @@ class PLATFORM_EXPORT PaintController {
|
| // false.
|
| bool m_textPainted;
|
| bool m_imagePainted;
|
| + bool m_nonDefaultBackgroundColorPainted;
|
|
|
| int m_skippingCacheCount;
|
|
|
|
|