From c9daffe79d5e16b0ed3473d4891136b511a9d613 Mon Sep 17 00:00:00 2001 From: "andersca@apple.com" Date: Thu, 22 Sep 2011 17:51:19 +0000 Subject: [PATCH] Widget::frameRect shouldn't be virtual https://bugs.webkit.org/show_bug.cgi?id=68637 Reviewed by Sam Weinig. Nobody overrides Widget::frameRect and nobody should. * platform/Widget.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95736 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 11 +++++++++++ Source/WebCore/platform/Widget.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 2f25da2..e03d39d 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,14 @@ +2011-09-22 Anders Carlsson + + Widget::frameRect shouldn't be virtual + https://bugs.webkit.org/show_bug.cgi?id=68637 + + Reviewed by Sam Weinig. + + Nobody overrides Widget::frameRect and nobody should. + + * platform/Widget.h: + 2011-09-22 Sergey Glazunov Ref protect shaders in V8WebGLRenderingContext::getAttachedShadersCallback diff --git a/Source/WebCore/platform/Widget.h b/Source/WebCore/platform/Widget.h index 21f99c7..46bc3d5 100644 --- a/Source/WebCore/platform/Widget.h +++ b/Source/WebCore/platform/Widget.h @@ -149,7 +149,7 @@ public: IntPoint location() const { return frameRect().location(); } virtual void setFrameRect(const IntRect&); - virtual IntRect frameRect() const; + IntRect frameRect() const; IntRect boundsRect() const { return IntRect(0, 0, width(), height()); } void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); } -- 2.7.4