| 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..cf5d879a50f558f8ff536ec262774809fbf4578c 100644
|
| --- a/third_party/WebKit/Source/platform/Widget.h
|
| +++ b/third_party/WebKit/Source/platform/Widget.h
|
| @@ -63,8 +63,9 @@ public:
|
| const IntRect& frameRect() const { return m_frame; }
|
| IntRect boundsRect() const { return IntRect(0, 0, width(), height()); }
|
|
|
| - void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); }
|
| - void resize(const IntSize& s) { setFrameRect(IntRect(location(), s)); }
|
| + // These return false if the resize was a no-op.
|
| + bool resize(int w, int h);
|
| + bool resize(const IntSize&);
|
|
|
| virtual void paint(GraphicsContext&, const CullRect&) const { }
|
| void invalidate() { invalidateRect(boundsRect()); }
|
|
|