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

Unified Diff: sky/engine/core/dom/Element.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/dom/Element.h ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.cpp
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
index 07faae587f8de97610555c8dbf6b1770f2db0573..fe8bfd40b8c84f4d7d9a8c97405e34c05c96cdd0 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -1023,18 +1023,6 @@ void Element::setNeedsAnimationStyleRecalc()
setAnimationStyleChange(true);
}
-void Element::setNeedsCompositingUpdate()
-{
- if (!document().isActive())
- return;
- RenderBoxModelObject* renderer = renderBoxModelObject();
- if (!renderer)
- return;
- if (!renderer->hasLayer())
- return;
- renderer->layer()->setNeedsCompositingInputsUpdate();
-}
-
void Element::setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition)
{
if (!hasRareData() && !definition)
« no previous file with comments | « sky/engine/core/dom/Element.h ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698