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

Unified Diff: Source/modules/accessibility/AXScrollView.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/AXScrollView.cpp
diff --git a/Source/modules/accessibility/AXScrollView.cpp b/Source/modules/accessibility/AXScrollView.cpp
index 96db5ce02fd5a7aac7279c42b58808c5978a0f19..4db06746cc546baecf71458a67ec7016db06c35f 100644
--- a/Source/modules/accessibility/AXScrollView.cpp
+++ b/Source/modules/accessibility/AXScrollView.cpp
@@ -206,7 +206,7 @@ LayoutRect AXScrollView::elementRect() const
if (!m_scrollView)
return LayoutRect();
- return m_scrollView->frameRect();
+ return LayoutRect(m_scrollView->frameRect());
}
FrameView* AXScrollView::documentFrameView() const

Powered by Google App Engine
This is Rietveld 408576698