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

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.h

Issue 2000483003: Rework timeline/frame scheduling logic for SVGImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unittest Created 4 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
index 639eca33b02f2b70a49b75363614df2be7adc8b6..4a4b722b6d7717e968fb8010b13f042c370f84dd 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
@@ -88,6 +88,7 @@ private:
}
void imageChanged(ImageResource*, const IntRect* = nullptr) override;
+ bool willRenderImage() override;
String debugName() const override { return "CrossfadeSubimageObserverProxy"; }
void setReady(bool ready) { m_ready = ready; }
private:
@@ -95,6 +96,7 @@ private:
bool m_ready;
};
+ bool willRenderImage() const;
void crossfadeChanged(const IntRect&);
Member<CSSValue> m_fromValue;

Powered by Google App Engine
This is Rietveld 408576698