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

Unified Diff: Source/modules/accessibility/AXScrollbar.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
Index: Source/modules/accessibility/AXScrollbar.cpp
diff --git a/Source/modules/accessibility/AXScrollbar.cpp b/Source/modules/accessibility/AXScrollbar.cpp
index be18f27bb153161d42458ee76a3512e69c9e0731..ded75fc27840200183b2ea38bae07b964983195d 100644
--- a/Source/modules/accessibility/AXScrollbar.cpp
+++ b/Source/modules/accessibility/AXScrollbar.cpp
@@ -58,7 +58,7 @@ LayoutRect AXScrollbar::elementRect() const
if (!m_scrollbar)
return LayoutRect();
- return m_scrollbar->frameRect();
+ return LayoutRect(m_scrollbar->frameRect());
}
Document* AXScrollbar::document() const

Powered by Google App Engine
This is Rietveld 408576698