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

Unified Diff: Source/core/rendering/RenderImage.cpp

Issue 139103009: If a compositing update is declared as needed, scheduleAnimation should be triggered. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed unnecessary foobar Created 6 years, 10 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: Source/core/rendering/RenderImage.cpp
diff --git a/Source/core/rendering/RenderImage.cpp b/Source/core/rendering/RenderImage.cpp
index e2277ee0b80094c5af5aa759fab2b48b07a5641e..fa0845843cf4c96b1917d1099e05c7ca221fd10a 100644
--- a/Source/core/rendering/RenderImage.cpp
+++ b/Source/core/rendering/RenderImage.cpp
@@ -160,10 +160,6 @@ void RenderImage::imageChanged(WrappedImagePtr newImage, const IntRect* rect)
if (newImage != m_imageResource->imagePtr())
return;
- // FIXME: this is a quick fix for crbug.com/328069. Perhaps this is reasonable to keep for the long term, or
- // perhaps it's too aggressive, and we need to identify when the image *really* changed before issuing this call?
- document().view()->scheduleAnimation();
-
// Per the spec, we let the server-sent header override srcset/other sources of dpr.
// https://github.com/igrigorik/http-client-hints/blob/master/draft-grigorik-http-client-hints-01.txt#L255
if (m_imageResource->cachedImage() && m_imageResource->cachedImage()->hasDevicePixelRatioHeaderValue())

Powered by Google App Engine
This is Rietveld 408576698