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

Unified Diff: Source/core/rendering/RenderMenuList.cpp

Issue 958543004: Remove some unnecessary and precision-losing pixel snapping code. (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/core/paint/ObjectPainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMenuList.cpp
diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp
index d4dc010a70281fae522ff450721ae1c3eb123151..2cb9d399f27b86d60f82be7d1a411cb1c5c83ca6 100644
--- a/Source/core/rendering/RenderMenuList.cpp
+++ b/Source/core/rendering/RenderMenuList.cpp
@@ -380,7 +380,7 @@ bool RenderMenuList::multiple() const
IntRect RenderMenuList::elementRectRelativeToViewport() const
{
- return selectElement()->document().view()->contentsToWindow(pixelSnappedIntRect(absoluteBoundingBoxRect()));
+ return selectElement()->document().view()->contentsToWindow(absoluteBoundingBoxRect());
}
Element& RenderMenuList::ownerElement() const
« no previous file with comments | « Source/core/paint/ObjectPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698