| Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| index 46a897a883a93a9a50b6ad0184e174685204dcfe..01067ef703f33b36bd0c41c0c7d2e7d93ba1b0cf 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
| @@ -183,6 +183,10 @@ class CORE_EXPORT SVGImage final : public Image {
|
| void ScheduleTimelineRewind();
|
| void FlushPendingTimelineRewind();
|
|
|
| + void LoadCompleted();
|
| +
|
| + class SVGImageLocalFrameClient;
|
| +
|
| Persistent<SVGImageChromeClient> chrome_client_;
|
| Persistent<Page> page_;
|
| std::unique_ptr<PaintController> paint_controller_;
|
| @@ -194,6 +198,17 @@ class CORE_EXPORT SVGImage final : public Image {
|
| // the "concrete object size". For more, see: SVGImageForContainer.h
|
| IntSize intrinsic_size_;
|
| bool has_pending_timeline_rewind_;
|
| +
|
| + enum LoadState {
|
| + kDataChangedNotStarted,
|
| + kInDataChanged,
|
| + kWaitingForAsyncLoadCompletion,
|
| + kLoadCompleted,
|
| + };
|
| +
|
| + LoadState load_state_ = kDataChangedNotStarted;
|
| +
|
| + Persistent<SVGImageLocalFrameClient> frame_client_;
|
| };
|
|
|
| DEFINE_IMAGE_TYPE_CASTS(SVGImage);
|
|
|