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

Unified Diff: sky/engine/core/rendering/RenderImage.cpp

Issue 735033003: Remove a bunch of dead code from RenderLayer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments Created 6 years, 1 month 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/rendering/RenderBoxModelObject.cpp ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderImage.cpp
diff --git a/sky/engine/core/rendering/RenderImage.cpp b/sky/engine/core/rendering/RenderImage.cpp
index 54aaf535e52f46be76e9947819020a296bbc37a2..23fbec69b665a04cf83e788b922ab350635d3420 100644
--- a/sky/engine/core/rendering/RenderImage.cpp
+++ b/sky/engine/core/rendering/RenderImage.cpp
@@ -183,9 +183,6 @@ void RenderImage::paintInvalidationOrMarkForLayout(const IntRect* rect)
DisableCompositingQueryAsserts disabler;
invalidatePaintRectangle(paintInvalidationRect);
}
-
- // Tell any potential compositing layers that the image needs updating.
- contentChanged(ImageChanged);
}
void RenderImage::notifyFinished(Resource* newImage)
@@ -197,12 +194,6 @@ void RenderImage::notifyFinished(Resource* newImage)
return;
invalidateBackgroundObscurationStatus();
-
- if (newImage == m_imageResource->cachedImage()) {
- // tell any potential compositing layers
- // that the image is done and they can reference it directly.
- contentChanged(ImageChanged);
- }
}
void RenderImage::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
« no previous file with comments | « sky/engine/core/rendering/RenderBoxModelObject.cpp ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698