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

Unified Diff: sky/engine/web/WebViewImpl.cpp

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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/WebViewImpl.h ('k') | sky/engine/web/painting/PaintAggregator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.cpp
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
index 41d21523efda2037bfcf47635bec3badf8b247db..7d1b83e30e17ec8945d1888c14528cbca8cd28ff 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -1285,9 +1285,6 @@ void WebViewImpl::sendResizeEventAndRepaint()
// Enqueues the resize event.
localFrameRootTemporary()->frame()->document()->enqueueResizeEvent();
}
-
- WebRect damagedRect(0, 0, m_size.width, m_size.height);
- m_client->didInvalidateRect(damagedRect);
}
void WebViewImpl::setCompositorDeviceScaleFactorOverride(float deviceScaleFactor)
@@ -1390,16 +1387,6 @@ bool WebViewImpl::tabsToLinks() const
return m_tabsToLinks;
}
-void WebViewImpl::suppressInvalidations(bool enable)
-{
- m_client->suppressCompositorScheduling(enable);
-}
-
-void WebViewImpl::invalidateRect(const IntRect& rect)
-{
- m_client->didInvalidateRect(rect);
-}
-
void WebViewImpl::scheduleAnimation()
{
m_client->scheduleAnimation();
« no previous file with comments | « sky/engine/web/WebViewImpl.h ('k') | sky/engine/web/painting/PaintAggregator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698