Changeset 76535 in webkit


Ignore:
Timestamp:
Jan 24, 2011 11:18:43 AM (13 years ago)
Author:
andersca@apple.com
Message:

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:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r76533 r76535  
     12011-01-24  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Implement forceRedisplay in the new drawing area
     6        https://bugs.webkit.org/show_bug.cgi?id=53026
     7
     8        * WebProcess/WebPage/DrawingAreaImpl.cpp:
     9        (WebKit::DrawingAreaImpl::forceRepaint):
     10        * WebProcess/WebPage/DrawingAreaImpl.h:
     11
    1122011-01-24  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp

    r76285 r76535  
    110110}
    111111
     112void DrawingAreaImpl::forceRepaint()
     113{
     114    m_isWaitingForDidUpdate = false;
     115    display();
     116}
     117
    112118void DrawingAreaImpl::attachCompositingContext()
    113119{
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h

    r76417 r76535  
    4646    virtual void setNeedsDisplay(const WebCore::IntRect&);
    4747    virtual void scroll(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
     48    virtual void forceRepaint();
    4849    virtual void attachCompositingContext();
    4950    virtual void detachCompositingContext();
Note: See TracChangeset for help on using the changeset viewer.