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

Unified Diff: Source/core/layout/LayoutMenuList.cpp

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 9 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/layout/LayoutBox.cpp ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMenuList.cpp
diff --git a/Source/core/layout/LayoutMenuList.cpp b/Source/core/layout/LayoutMenuList.cpp
index 2c696e7b02aa4e781a70919ef8429e2991d34cc4..672c66d06689a000b865fea8ae027fae8074ee66 100644
--- a/Source/core/layout/LayoutMenuList.cpp
+++ b/Source/core/layout/LayoutMenuList.cpp
@@ -381,7 +381,7 @@ bool LayoutMenuList::multiple() const
IntRect LayoutMenuList::elementRectRelativeToViewport() const
{
- return selectElement()->document().view()->contentsToWindow(absoluteBoundingBoxRect());
+ return selectElement()->document().view()->contentsToViewport(absoluteBoundingBoxRect());
}
Element& LayoutMenuList::ownerElement() const
« no previous file with comments | « Source/core/layout/LayoutBox.cpp ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698