Skip to content
Permalink
Browse files
2011-01-24 Anders Carlsson <andersca@apple.com>
        Reviewed by Sam Weinig.

        Implement forceRedisplay in the new drawing area
        https://bugs.webkit.org/show_bug.cgi?id=53026

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::forceRepaint):
        * WebProcess/WebPage/DrawingAreaImpl.h:


Canonical link: https://commits.webkit.org/66766@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Anders Carlsson committed Jan 24, 2011
1 parent ca96df2 commit 461bf39b0b911ed8cbd8a0834a2023ce4614383a
Showing 3 changed files with 18 additions and 0 deletions.
@@ -1,3 +1,14 @@
2011-01-24 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Implement forceRedisplay in the new drawing area
https://bugs.webkit.org/show_bug.cgi?id=53026

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::forceRepaint):
* WebProcess/WebPage/DrawingAreaImpl.h:

2011-01-24 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.
@@ -109,6 +109,12 @@ void DrawingAreaImpl::scroll(const IntRect& scrollRect, const IntSize& scrollOff
m_scrollOffset += scrollOffset;
}

void DrawingAreaImpl::forceRepaint()
{
m_isWaitingForDidUpdate = false;
display();
}

void DrawingAreaImpl::attachCompositingContext()
{
}
@@ -45,6 +45,7 @@ class DrawingAreaImpl : public DrawingArea {
// DrawingArea
virtual void setNeedsDisplay(const WebCore::IntRect&);
virtual void scroll(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
virtual void forceRepaint();
virtual void attachCompositingContext();
virtual void detachCompositingContext();
virtual void setRootCompositingLayer(WebCore::GraphicsLayer*);

0 comments on commit 461bf39

Please sign in to comment.