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

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 646133002: Don't convert invalidations to a FloatRect. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: invalidationint: . 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 | « Source/platform/graphics/GraphicsLayer.cpp ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index 75860ddb8e848a705a1940e8a7f0b0f5aeb978ef..77ae97f3a8e073e63ece49b85417c6fe345be468 100644
--- a/Source/web/WebPopupMenuImpl.cpp
+++ b/Source/web/WebPopupMenuImpl.cpp
@@ -372,7 +372,7 @@ void WebPopupMenuImpl::invalidateContentsAndRootView(const IntRect& paintRect)
if (m_client)
m_client->didInvalidateRect(paintRect);
if (m_rootLayer)
- m_rootLayer->layer()->invalidateRect(FloatRect(paintRect));
+ m_rootLayer->layer()->invalidateRect(paintRect);
}
void WebPopupMenuImpl::invalidateContentsForSlowScroll(const IntRect& updateRect)
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698