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

Unified Diff: sky/engine/core/fetch/ImageResource.cpp

Issue 1228463002: Remove RenderImage (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/engine/core/editing/TextIterator.cpp ('k') | sky/engine/core/fetch/ImageResourceClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/fetch/ImageResource.cpp
diff --git a/sky/engine/core/fetch/ImageResource.cpp b/sky/engine/core/fetch/ImageResource.cpp
index 22d99120f5cf9ec4dbc8c6d1d915e407f332d5b1..382ca4737fe1c58c19bf2a02d1845f2adcc325ee 100644
--- a/sky/engine/core/fetch/ImageResource.cpp
+++ b/sky/engine/core/fetch/ImageResource.cpp
@@ -371,12 +371,6 @@ bool ImageResource::shouldPauseAnimation(const blink::Image* image)
if (!image || image != m_image)
return false;
- ResourceClientWalker<ImageResourceClient> w(m_clients);
- while (ImageResourceClient* c = w.next()) {
- if (c->willRenderImage(this))
- return false;
- }
-
return true;
}
« no previous file with comments | « sky/engine/core/editing/TextIterator.cpp ('k') | sky/engine/core/fetch/ImageResourceClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698