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

Unified Diff: sky/engine/web/ChromeClientImpl.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/ChromeClientImpl.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/ChromeClientImpl.cpp
diff --git a/sky/engine/web/ChromeClientImpl.cpp b/sky/engine/web/ChromeClientImpl.cpp
index 39cdb465bf65d2ab84aab8e9e7ba6eb9d73fbc61..91884a7017462121b1e758e43d04e0ef2e65d446 100644
--- a/sky/engine/web/ChromeClientImpl.cpp
+++ b/sky/engine/web/ChromeClientImpl.cpp
@@ -265,18 +265,6 @@ bool ChromeClientImpl::tabsToLinks()
return m_webView->tabsToLinks();
}
-void ChromeClientImpl::invalidateContentsAndRootView(const IntRect& updateRect)
-{
- if (updateRect.isEmpty())
- return;
- m_webView->invalidateRect(updateRect);
-}
-
-void ChromeClientImpl::invalidateContentsForSlowScroll(const IntRect& updateRect)
-{
- invalidateContentsAndRootView(updateRect);
-}
-
void ChromeClientImpl::scheduleAnimation()
{
m_webView->scheduleAnimation();
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698