[EFL] Rename parameter and variable name 'r' to 'rect' in IntRectEfl.cpp.

https://bugs.webkit.org/show_bug.cgi?id=76140

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-11
Reviewed by Andreas Kling.

No new tests : Just for change of parameter and variable name.

* platform/graphics/efl/IntRectEfl.cpp:
(WebCore::IntRect::IntRect):
(WebCore::IntRect::operator Eina_Rectangle):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8e5bfd87
2012-01-11 KwangHyuk Kim <hyuki.kim@samsung.com>
[EFL] Rename parameter and variable name 'r' to 'rect' in IntRectEfl.cpp.
https://bugs.webkit.org/show_bug.cgi?id=76140
Reviewed by Andreas Kling.
No new tests : Just for change of parameter and variable name.
* platform/graphics/efl/IntRectEfl.cpp:
(WebCore::IntRect::IntRect):
(WebCore::IntRect::operator Eina_Rectangle):
2012-01-11 Shinya Kawanaka <shinyak@google.com>
QuerySelector should not have side effect.
......@@ -25,16 +25,16 @@
namespace WebCore {
IntRect::IntRect(const Eina_Rectangle& r)
: m_location(IntPoint(r.x, r.y))
, m_size(r.w, r.h)
IntRect::IntRect(const Eina_Rectangle& rect)
: m_location(IntPoint(rect.x, rect.y))
, m_size(rect.w, rect.h)
{
}
IntRect::operator Eina_Rectangle() const
{
Eina_Rectangle r = {x(), y(), width(), height()};
return r;
Eina_Rectangle rect = {x(), y(), width(), height()};
return rect;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment