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

Unified Diff: Source/web/PopupListBox.cpp

Issue 952273006: Make the constructor of a LayoutRect from an IntRect explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/web/PageWidgetDelegate.cpp ('k') | Source/web/TextFinder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PopupListBox.cpp
diff --git a/Source/web/PopupListBox.cpp b/Source/web/PopupListBox.cpp
index 28e16f7ebcbcd077203a42ca507349d3816aa1ed..3378f5895f67f4dd243d371d5e4457f5cc8b8faf 100644
--- a/Source/web/PopupListBox.cpp
+++ b/Source/web/PopupListBox.cpp
@@ -357,7 +357,7 @@ void PopupListBox::typeAheadFind(const PlatformKeyboardEvent& event)
void PopupListBox::paint(GraphicsContext* gc, const IntRect& rect)
{
- ClipRecorder frameClip(displayItemClient(), gc, DisplayItem::ClipPopupListBoxFrame, frameRect());
+ ClipRecorder frameClip(displayItemClient(), gc, DisplayItem::ClipPopupListBoxFrame, LayoutRect(frameRect()));
TransformRecorder transformRecorder(*gc, displayItemClient(), AffineTransform::translation(x(), y()));
IntRect paintRect = intersection(rect, frameRect());
paintRect.moveBy(-location());
« no previous file with comments | « Source/web/PageWidgetDelegate.cpp ('k') | Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698