Index: third_party/WebKit/Source/core/paint/RarePaintData.cpp |
diff --git a/third_party/WebKit/Source/core/paint/RarePaintData.cpp b/third_party/WebKit/Source/core/paint/RarePaintData.cpp |
index 896be5123214fb527973d4f34edf7484b5f6e782..c7626b10696a9579398f3259f43104bfd8652885 100644 |
--- a/third_party/WebKit/Source/core/paint/RarePaintData.cpp |
+++ b/third_party/WebKit/Source/core/paint/RarePaintData.cpp |
@@ -4,7 +4,7 @@ |
#include "core/paint/RarePaintData.h" |
-#include "core/paint/ObjectPaintProperties.h" |
+#include "core/paint/FragmentData.h" |
#include "core/paint/PaintLayer.h" |
namespace blink { |
@@ -17,10 +17,10 @@ void RarePaintData::SetLayer(std::unique_ptr<PaintLayer> layer) { |
layer_ = std::move(layer); |
}; |
-ObjectPaintProperties& RarePaintData::EnsurePaintProperties() { |
- if (!paint_properties_) |
- paint_properties_ = ObjectPaintProperties::Create(); |
- return *paint_properties_.get(); |
+FragmentData& RarePaintData::EnsureFragment() const { |
+ if (!fragment_data_) |
+ fragment_data_ = FragmentData::Create(); |
+ return *fragment_data_.get(); |
} |
void RarePaintData::ClearPaintProperties() { |