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

Unified Diff: third_party/WebKit/Source/platform/Widget.h

Issue 2343553002: Rename m_frame to m_frameRect. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Widget.h
diff --git a/third_party/WebKit/Source/platform/Widget.h b/third_party/WebKit/Source/platform/Widget.h
index 06e035f025d7f2823f426449f200bab0dd8b543c..3d47683ec21c8b12c3efe45c80a21a074458412f 100644
--- a/third_party/WebKit/Source/platform/Widget.h
+++ b/third_party/WebKit/Source/platform/Widget.h
@@ -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;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698