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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 768493002: Get rid of CompositingState. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix incorrect case. 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
Index: sky/engine/core/frame/FrameView.cpp
diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
index 7163e74d12c71f922365941fcf34c60d7bc42380..bc399c40335b065ee8c0e5a065d1683762f0672e 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -154,13 +154,10 @@ bool FrameView::didFirstLayout() const
void FrameView::invalidateRect(const IntRect& rect)
{
- // For querying RenderLayer::compositingState() when invalidating scrollbars.
- // FIXME: do all scrollbar invalidations after layout of all frames is complete. It's currently not recursively true.
- DisableCompositingQueryAsserts disabler;
+ // FIXME(sky): Parent is always null in sky?
abarth-chromium 2014/11/27 02:48:42 Yes.
if (!parent()) {
if (HostWindow* window = hostWindow())
window->invalidateContentsAndRootView(rect);
- return;
}
}

Powered by Google App Engine
This is Rietveld 408576698