Commit d29d5bd8 authored by wkorman's avatar wkorman Committed by Commit bot

Rename m_frame to m_frameRect.

It is both clearer this way, and it avoids shadowing by the identically-named
m_frame in FrameView.

TBR=drott

Review-Url: https://codereview.chromium.org/2343553002
Cr-Commit-Position: refs/heads/master@{#418960}
parent 1827db15
......@@ -59,8 +59,8 @@ public:
IntSize size() const { return frameRect().size(); }
IntPoint location() const { return frameRect().location(); }
virtual void setFrameRect(const IntRect& frame) { m_frame = frame; }
const IntRect& frameRect() const { return m_frame; }
virtual void setFrameRect(const IntRect& frameRect) { m_frameRect = frameRect; }
const IntRect& frameRect() const { return m_frameRect; }
IntRect boundsRect() const { return IntRect(0, 0, width(), height()); }
void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); }
......@@ -124,7 +124,7 @@ public:
private:
Member<Widget> m_parent;
IntRect m_frame;
IntRect m_frameRect;
bool m_selfVisible;
bool m_parentVisible;
};
......
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