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

Unified Diff: sky/engine/web/painting/ContinuousPainter.cpp

Issue 687003002: Remove PageOverlays. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/web/painting/ContinuousPainter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/painting/ContinuousPainter.cpp
diff --git a/sky/engine/web/painting/ContinuousPainter.cpp b/sky/engine/web/painting/ContinuousPainter.cpp
index abdfc3b533cf4af0b7e35e507da0ca90b455fe9d..5122135c36701058ca49d6cf1610c31c79ee1d32 100644
--- a/sky/engine/web/painting/ContinuousPainter.cpp
+++ b/sky/engine/web/painting/ContinuousPainter.cpp
@@ -31,30 +31,26 @@
#include "platform/TraceEvent.h"
#include "platform/graphics/GraphicsLayer.h"
-#include "web/PageOverlayList.h"
using namespace blink;
namespace blink {
-void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer, PageOverlayList* pageOverlays)
+void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer)
{
if (!layer)
return;
- if (pageOverlays && pageOverlays->findGraphicsLayer(layer) != WTF::kNotFound)
- return;
-
TRACE_EVENT0("blink", "ContinuousPainter::setNeedsDisplayRecursive");
layer->setNeedsDisplay();
- setNeedsDisplayRecursive(layer->maskLayer(), pageOverlays);
- setNeedsDisplayRecursive(layer->contentsClippingMaskLayer(), pageOverlays);
+ setNeedsDisplayRecursive(layer->maskLayer());
+ setNeedsDisplayRecursive(layer->contentsClippingMaskLayer());
const Vector<GraphicsLayer*>& children = layer->children();
Vector<GraphicsLayer*>::const_iterator it;
for (it = children.begin(); it != children.end(); ++it)
- setNeedsDisplayRecursive(*it, pageOverlays);
+ setNeedsDisplayRecursive(*it);
}
} // namespace blink
« no previous file with comments | « sky/engine/web/painting/ContinuousPainter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698